MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / pydevd_breakpointhook

Function pydevd_breakpointhook

pydevd.py:190–200  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

188 if pydevd_breakpointhook is None:
189
190 def pydevd_breakpointhook(*args, **kwargs):
191 hookname = os.getenv("PYTHONBREAKPOINT")
192 if (
193 hookname is not None
194 and len(hookname) > 0
195 and hasattr(sys, "__breakpointhook__")
196 and sys.__breakpointhook__ != pydevd_breakpointhook
197 ):
198 sys.__breakpointhook__(*args, **kwargs)
199 else:
200 settrace(*args, **kwargs)
201
202 if sys.version_info[0:2] >= (3, 7):
203 # There are some choices on how to provide the breakpoint hook. Namely, we can provide a

Callers

nothing calls this directly

Calls 1

settraceFunction · 0.85

Tested by

no test coverage detected