StackFrame

final class ntoseye.StackFrame

Subclass of BaseRecord.

One frame of a stack walk.

property inline: bool

True for a call that the compiler inlined into the physical frame after it, so the call has no stack frame of its own. symbol is the inlined function, and ip and sp are those of the physical frame.

property ip: int

The instruction pointer.

property source: Literal['current', 'seed', 'unwind', 'prolog', 'scan']

How ntoseye recovered the frame.

property source_location: SourceLocation | None

The source line of the frame, if line information resolves it. For an inline frame this is the line in the inlined function, and for a caller it is the line of the call (see frame_source_location).

property sp: int

The stack pointer.

property symbol: str

The symbol at ip (module!procedure+offset). For an inline frame, module!function, the function inlined. Empty if no symbol resolves.