Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugThread

Hierarchy

Implements

  • TreeElement

Index

Constructors

constructor

Properties

Protected _currentFrame

_currentFrame: undefined | DebugStackFrame

Protected Readonly _frames

_frames: Map<number, DebugStackFrame> = ...

Protected _pendingFetchCount

_pendingFetchCount: number = 0

Readonly onDidChanged

onDidChanged: Event<void> = ...

Protected Readonly onDidChangedEmitter

onDidChangedEmitter: Emitter<void> = ...

Protected pendingFetch

pendingFetch: Promise<DebugStackFrame[]> = ...

Protected pendingFetchCancel

pendingFetchCancel: CancellationTokenSource = ...

Readonly raw

raw: Thread

Readonly session

session: DebugSession

Readonly stoppedDetails

stoppedDetails: undefined | StoppedDetails

Accessors

currentFrame

frameCount

  • get frameCount(): number

frames

id

  • get id(): string

pendingFrameCount

  • get pendingFrameCount(): number

stopped

  • get stopped(): boolean

supportsTerminate

  • get supportsTerminate(): boolean

topFrame

Methods

clear

  • clear(): void

Protected clearFrames

  • clearFrames(): void

continue

  • continue(): Promise<ContinueResponse>

Protected doFetchFrames

  • doFetchFrames(startFrame: number, levels: number): Promise<StackFrame[]>

Protected doUpdateFrames

fetchFrames

getExceptionInfo

pause

  • pause(): Promise<PauseResponse>

render

  • render(): ReactNode

stepIn

  • stepIn(): Promise<StepInResponse>

stepOut

  • stepOut(): Promise<StepOutResponse>

stepOver

  • stepOver(): Promise<NextResponse>

terminate

  • terminate(): Promise<void>

Protected toArgs

  • toArgs<T>(arg?: T): { threadId: number } & T

update

Protected updateCurrentFrame

  • updateCurrentFrame(): void