MCPcopy Create free account
hub / github.com/ipython/ipython / set_trace

Function set_trace

IPython/core/debugger.py:807–813  ·  view source on GitHub ↗

Start debugging from `frame`. If frame is not specified, debugging starts from caller's frame.

(frame=None)

Source from the content-addressed store, hash-verified

805
806
807def set_trace(frame=None):
808 """
809 Start debugging from `frame`.
810
811 If frame is not specified, debugging starts from caller's frame.
812 """
813 Pdb().set_trace(frame or sys._getframe().f_back)

Callers

nothing calls this directly

Calls 1

PdbClass · 0.85

Tested by

no test coverage detected