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

Function trace_dispatch

_pydevd_bundle/pydevd_trace_dispatch_regular.py:218–224  ·  view source on GitHub ↗
(py_db, frame, event, arg)

Source from the content-addressed store, hash-verified

216
217
218def trace_dispatch(py_db, frame, event, arg):
219 thread_trace_func, apply_to_settrace = py_db.fix_top_level_trace_and_get_trace_func(py_db, frame)
220 if thread_trace_func is None:
221 return None if event == "call" else NO_FTRACE
222 if apply_to_settrace:
223 py_db.enable_tracing(thread_trace_func)
224 return thread_trace_func(frame, event, arg)
225
226
227# fmt: off

Callers

nothing calls this directly

Calls 1

enable_tracingMethod · 0.80

Tested by

no test coverage detected