ID EN
Sys

call_tracing

Python 3.11

Call func(*args), while tracing is enabled. The tracing state is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code.

Syntax

PYTHON
sys.call_tracing(func, args)

See Also

settrace() setprofile()