PyDocs

Nav

Debugging and profiling

Bdb.set_trace

bdb

method of Bdb (source)
  • Bdb.set_trace([frame])
Start debugging from frame.

If frame is not specified, debugging starts from caller's frame.
Changed in 3.13
  • 3.13: set_trace() will enter the debugger immediately, rather than on the next line of code to be executed.
0 Examples
No examples for bdb/Bdb.set_trace.
See Also
No see-alsos for bdb/Bdb.set_trace
0 Notes
No notes for Bdb.set_trace