MCPcopy Index your code
hub / github.com/python/cpython / set_trace

Function set_trace

Lib/bdb.py:956–958  ·  view source on GitHub ↗

Start debugging with a Bdb instance from the caller's frame.

()

Source from the content-addressed store, hash-verified

954
955
956def set_trace():
957 """Start debugging with a Bdb instance from the caller's frame."""
958 Bdb().set_trace()
959
960
961class Breakpoint:

Callers

nothing calls this directly

Calls 2

BdbClass · 0.70
set_traceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…