Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DebugSessionConnection

Hierarchy

  • DebugSessionConnection

Implements

  • Disposable

Index

Constructors

  • new DebugSessionConnection(sessionId: string, connectionFactory: ((sessionId: string) => Promise<DebugChannel>), traceOutputChannel: undefined | OutputChannel): DebugSessionConnection

Properties

allThreadsContinued: boolean = true
connectionPromise: Promise<DebugChannel>
emitters: Map<string, Emitter<Event>> = ...
isClosed: boolean = false
onDidClose: Event<void> = ...
onDidCloseEmitter: Emitter<void> = ...
onDidCustomEvent: Event<Event> = ...
onDidCustomEventEmitter: Emitter<Event> = ...
pendingRequests: Map<number, Deferred<Response>> = ...
requestHandlers: Map<string, DebugRequestHandler> = ...
sequence: number = 1
sessionId: string
toDispose: DisposableCollection = ...
traceOutputChannel: undefined | OutputChannel

Accessors

  • get disposed(): boolean

Methods

  • cancelPendingRequests(): void
  • checkDisposed(): void
  • dispose(): void
  • doSendRequest<K>(command: string, args?: any, timeout?: number): Promise<K>
  • fireContinuedEvent(threadId: number, allThreadsContinued?: boolean): void
  • handleEvent(event: Event): void
  • handleMessage(data: string): void
  • handleRequest(request: Request): Promise<void>
  • handleResponse(response: Response): void
  • newEmitter(): Emitter<Event>
  • send(message: ProtocolMessage): Promise<void>
  • sendCustomRequest<T>(command: string, args?: any): Promise<T>