MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_trace

Function set_trace

Lib/pdb.py:1617–1621  ·  view source on GitHub ↗
(*, header=None)

Source from the content-addressed store, hash-verified

1615 return Pdb().runcall(*args, **kwds)
1616
1617def set_trace(*, header=None):
1618 pdb = Pdb()
1619 if header is not None:
1620 pdb.message(header)
1621 pdb.set_trace(sys._getframe().f_back)
1622
1623# Post-Mortem interface
1624

Callers

nothing calls this directly

Calls 3

messageMethod · 0.95
set_traceMethod · 0.95
PdbClass · 0.85

Tested by

no test coverage detected