]> git.phdru.name Git - dotfiles.git/blob - .pdbrc
1bc8abf8fe90b6938203eef578b80dc467476938
[dotfiles.git] / .pdbrc
1 # http://wiki.python.org/moin/PdbRcIdea
2
3 # .pdbrc only allows for debugger commands; you cannot insert Python scripts.
4
5 # To overcome this restriction, this .pdbrc executes pdbrc.py,
6 # which can contain arbitrary Python commands.
7
8 # If pdbrc.py is missing, you get an error message (which doesn't hurt).
9
10 import os
11 x = execfile(os.path.expanduser("~/lib/python/pdbrc.py"))