ThreadStack

final class ntoseye.ThreadStack

Subclass of BaseRecord.

The state and walked stack of a thread (!stacks).

property error: str | None

The error, if the stack walk failed.

property frames: list[StackFrame]

The frames, innermost first. Level 0 has the top frame, level 1 has up to 32 frames, and level 2 has up to 64 frames.

property thread: ThreadSummary
property top_symbol: Diagnostic[str | None]

The symbol of the top frame.

property truncated: int

The number of frames past the walk limit, which are not listed.