Skip to content

probe-web / @probe-web/ui / ProbeCallstack

Class: ProbeCallstack

Defined in: packages/ui/src/callstack.ts:17

<probe-callstack>: the stack at the current stop. Inlined frames are shown but the first real (non-inlined) frame is selected by default.

Fires

  • frame-selected: A frame was selected, by a click or automatically at each stop. detail is the Frame; set it as <probe-variables>' frame to show that frame's variables.

Extends

  • LitElement

Constructors

Constructor

ts
new ProbeCallstack(): ProbeCallstack;

Defined in: node_modules/@lit/reactive-element/development/reactive-element.d.ts:527

Returns

ProbeCallstack

Inherited from

ts
LitElement.constructor

Properties

PropertyTypeDefault valueDescriptionDefined in
debuggerDebugger | nullnullThe debugger whose stack is shown.packages/ui/src/callstack.ts:22

Accessors

selectedFrame

Get Signature

ts
get selectedFrame(): Frame | null;

Defined in: packages/ui/src/callstack.ts:71

The selected frame, if any.

Returns

Frame | null

Methods

refresh()

ts
refresh(): Promise<void>;

Defined in: packages/ui/src/callstack.ts:56

Read the stack now (the core must be halted) and select its first non-inlined frame.

Returns

Promise<void>


select()

ts
select(frame): void;

Defined in: packages/ui/src/callstack.ts:76

Select frame and fire frame-selected.

Parameters

ParameterType
frameFrame

Returns

void