sys.gettrace()
Get the trace function as set by settrace()
.
CPython implementation detail: The gettrace()
function is intended only for implementing debuggers, profilers, coverage tools and the like. Its behavior is part of the implementation platform, rather than part of the language definition, and thus may not be available in all Python implementations.
Please login to continue.