MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / set_trace

Function set_trace

tools/python-3.11.9-amd64/Lib/pdb.py:1692–1696  ·  view source on GitHub ↗
(*, header=None)

Source from the content-addressed store, hash-verified

1690 return Pdb().runcall(*args, **kwds)
1691
1692def set_trace(*, header=None):
1693 pdb = Pdb()
1694 if header is not None:
1695 pdb.message(header)
1696 pdb.set_trace(sys._getframe().f_back)
1697
1698# Post-Mortem interface
1699

Callers

nothing calls this directly

Calls 3

messageMethod · 0.95
PdbClass · 0.85
set_traceMethod · 0.45

Tested by

no test coverage detected