Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugWatchExpression

Hierarchy

Index

Constructors

Properties

_available: boolean = false
_expression: string
_type: undefined | string
_value: string = ExpressionItem.notAvailable
elements: undefined | Promise<ExpressionContainer[]>
id: number
indexedVariables: undefined | number
isError: boolean
namedVariables: undefined | number
options: { expression: string; id: number; session: DebugSessionProvider; onDidChange: any; remove: any }

Type declaration

sessionProvider: DebugSessionProvider
severity?: Severity
startOfVariables: number
valueRef: undefined | HTMLSpanElement
variablesReference: number
notAvailable: string = 'not available'

Accessors

  • get available(): boolean
  • get expression(): string
  • get hasElements(): boolean
  • get supportCopyValue(): boolean
  • get type(): undefined | string
  • get value(): string

Methods

  • copyValue(): void
  • evaluate(): Promise<void>
  • fetch(result: ConsoleItem[], filter: "named"): Promise<void>
  • fetch(result: ConsoleItem[], filter: "indexed", start: number, count?: number): Promise<void>
  • open(): Promise<void>
  • render(): ReactNode
  • setResult(body?: {}, error?: string): void
  • setValueRef(valueRef: null | HTMLSpanElement): undefined | HTMLSpanElement