ThreadStack

final class ntoseye.ThreadStack

Subclass of BaseRecord.

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

property active: int | None

The processor that runs the thread, if the listing resolves it. None if no processor runs it, and while the target runs.

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: ThreadInfo
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.