Runtime Data Attributes
frame.f_trace_lines
Controls line-event generation when tracing is enabled for this frame. Changing the flag does not start tracing by itself.
Formal Syntax & Structure
python syntaxpython
frame.f_trace_linesReturn Value
bool
Value exposed by this attribute; availability and mutability depend on the owner as described.
Working Example
Example Snippetpython
import inspectdef f(): return inspect.currentframe().f_trace_linesprint(f())