Staging: this is not the live site, pydocs.org.
Pdb is the debugger class.
Changed in 3.1, 3.2, 3.6, 3.14
- 3.1: Added the skip parameter.
- 3.2: Added the nosigint parameter. Previously, a SIGINT handler was never set by Pdb.
- 3.6: The readrc argument.
- 3.14: Inline breakpoints like breakpoint() or pdb.set_trace() will always stop the program at calling frame, ignoring the skip pattern (if any).
- 3.14: Added the mode argument.
- 3.14: Added the backend argument.
- 3.14: Added the colorize argument.
Members of Pdb
r
- run
- Debug a statement executed via the exec() function.
- runcall
- Debug a single function call.
- runeval
- Debug an expression executed via the eval() function.