Lines Matching full:pdb
3 :mod:`pdb` --- The Python Debugger
6 .. module:: pdb
9 **Source code:** :source:`Lib/pdb.py`
15 The module :mod:`pdb` defines an interactive source code debugger for Python
22 single: Pdb (class in pdb)
26 The debugger is extensible --- it is actually defined as the class :class:`Pdb`.
30 The debugger's prompt is ``(Pdb)``. Typical usage to run a program under control
33 >>> import pdb
35 >>> pdb.run('mymodule.test()')
37 (Pdb) continue
39 (Pdb) continue
42 (Pdb)
44 :file:`pdb.py` can also be invoked as a script to debug other scripts. For
47 python -m pdb myscript.py
49 When invoked as a script, pdb will automatically enter post-mortem debugging if
51 after normal exit of the program), pdb will restart the program. Automatic
52 restarting preserves pdb's state (such as breakpoints) and in most cases is more
61 import pdb; pdb.set_trace()
69 >>> import pdb
79 >>> pdb.pm()
82 (Pdb)
136 :class:`Pdb` class and calling the method of the same name. If you want to
139 .. class:: Pdb(completekey='tab', stdin=None, stdout=None, skip=None)
141 :class:`Pdb` is the debugger class.
152 import pdb; pdb.Pdb(skip=['django.*']).set_trace()
210 argument, print help about that command. ``help pdb`` displays the full
276 (Pdb) commands 1
279 (Pdb)
363 pdb prompt. Note that internal pdb commands *can* be overridden by aliases.
385 (Pdb) global list_options; list_options = ['-l']
386 (Pdb)