Lines Matching defs:pdb
5 # (See pdb.doc for documentation.)
28 __all__ = ["run", "pm", "Pdb", "runeval", "runctx", "runcall", "set_trace",
54 # be to your liking. You can set it once pdb is imported using the
55 # command "pdb.line_prefix = '\n% '".
59 class Pdb(bdb.Bdb, cmd.Cmd):
66 self.prompt = '(Pdb) '
716 p = Pdb(self.completekey, self.stdin, self.stdout)
903 # Help methods (derived from pdb.doc)
912 "help pdb" pipes the full documentation file to the $PAGER
1092 (Pdb) global list_options; list_options = ['-l']
1093 (Pdb)"""
1130 legally typed at the pdb prompt. Note! You *can* override
1131 internal pdb commands with aliases! Those internal commands
1153 (Pdb)
1216 # (this gets rid of pdb's globals and cleans old variables on restarts).
1238 Pdb().run(statement, globals, locals)
1241 return Pdb().runeval(expression, globals, locals)
1248 return Pdb().runcall(*args, **kwds)
1251 Pdb().set_trace(sys._getframe().f_back)
1265 p = Pdb()
1283 fullname = os.path.join(dirname, 'pdb.doc')
1289 print 'Sorry, can\'t find the help file "pdb.doc"',
1294 print "usage: pdb.py scriptfile [arg] ..."
1302 del sys.argv[0] # Hide "pdb.py" from argument list
1304 # Replace pdb's dir with script's dir in front of module search path.
1311 pdb = Pdb()
1314 pdb._runscript(mainpyfile)
1315 if pdb._user_requested_quit:
1330 pdb.interaction(None, t)
1337 import pdb
1338 pdb.main()