TraceStep (Class)¶
One pause of a traced execution: an executed source statement, with the
variables that were in scope when it was reached. What the CLI debugger
shows on each step, recorded instead of printed.
function_name
property
¶
The function the statement belongs to (after inlining); None outside any mapped function.
line
property
¶
1-based source line of the statement. None when no source mapping exists (e.g. generated dispatch code).
statement
property
¶
The statement's source text (the active line, trimmed).
variables
property
¶
variables: list[DebugVariable]
The variables in scope when the statement was reached — before it executes, so a local it defines appears from the following step on.