(py_db, frame, event, arg)
| 216 | |
| 217 | |
| 218 | def 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 |
nothing calls this directly
no test coverage detected