Theia API Documentation v1.77.0
    Preparing search index...

    Hierarchy (View Summary)

    Implements

    Index
    _capabilities: Capabilities = {}
    _currentThread: DebugThread | undefined
    _threads: Map<number, DebugThread> = ...
    breakpoints: BreakpointManager
    childSessions: Map<string, DebugSession> = ...
    commandService: CommandService
    debugContributionProvider: ContributionProvider<DebugContribution>
    debugPreferences: DebugPreferences
    deferredOnDidConfigureCapabilities: Deferred<void> = ...
    didReceiveCapabilities: Deferred<void> = ...

    The send('initialize') request could resolve later than on('initialized') emits the event. Hence, the configure would use the empty object capabilities. Using the empty capabilities could result in missing exception breakpoint filters, as always capabilities.exceptionBreakpointFilters is falsy. This deferred promise works around this timing issue. https://github.com/eclipse-theia/theia/issues/11886

    editorManager: EditorManager
    fileService: FileService
    initialized: boolean = false
    isStopping: boolean = false
    labelProvider: LabelProvider
    logger: ILogger
    messages: MessageClient
    onDidChange: Event<void> = ...
    onDidChangeCapabilities: Event<void> = ...

    Fires when the capabilities of the session change, with the initialize response or a capabilities event.

    onDidChangeCapabilitiesEmitter: Emitter<void> = ...
    onDidChangeEmitter: Emitter<void> = ...
    onDidFocusStackFrameEmitter: Emitter<DebugStackFrame | undefined> = ...
    onDidFocusThreadEmitter: Emitter<DebugThread | undefined> = ...
    onDidResolveLazyVariable: Event<DebugVariable> = ...
    onDidResolveLazyVariableEmitter: Emitter<DebugVariable> = ...
    pendingThreads: Promise<void> = ...
    PROMPT_READY_TIMEOUT_MS: 3000

    Maximum time to wait for the shell integration prompt before proceeding.

    scheduleUpdateThreads: (...arguments: []) => Promise<void> = ...
    sessionManager: DebugSessionManager
    sources: Map<string, DebugSource> = ...
    stopTimeout: number

    Number of millis after a stop request times out. It's 5 seconds by default.

    terminalServer: TerminalService
    testService: TestService
    toDispose: DisposableCollection = ...
    toDisposeOnCurrentThread: DisposableCollection = ...
    updatingBreakpoints: boolean = false
    workspaceService: WorkspaceService
    • Parameters

      • text: string
      • column: number
      • line: number

      Returns Promise<CompletionItem[]>

    • Parameters

      • expression: string
      • Optionalcontext: string

      Returns Promise<
          {
              indexedVariables?: number;
              memoryReference?: string;
              namedVariables?: number;
              presentationHint?: VariablePresentationHint;
              result: string;
              type?: string;
              valueLocationReference?: number;
              variablesReference: number;
          },
      >

    • Parameters

      • __namedParameters: RunInTerminalRequest

      Returns Promise<{ processId?: number; shellProcessId?: number }>

    • Parameters

      • body: { breakpoint: Breakpoint; reason: string }
        • breakpoint: Breakpoint

          The id attribute is used to find the target breakpoint, the other attributes are used as the new values.

        • reason: string

          The reason for the event. Values: 'changed', 'new', 'removed', etc.

      Returns void