MCPcopy Create free account
hub / github.com/Snapchat/Valdi / _onThreads

Method _onThreads

valdi/vscode_debugger/src/adapter/debugAdapter.ts:206–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 async _onThreads(): Promise<Dap.ThreadsResult | Dap.Error> {
207 const threads: Dap.Thread[] = [];
208 if (this._thread) threads.push({ id: this._thread.id, name: this._thread.name() });
209 return { threads };
210 }
211
212 async _onStackTrace(params: Dap.StackTraceParams): Promise<Dap.StackTraceResult | Dap.Error> {
213 if (!this._thread) return this._threadNotAvailableError();

Callers 1

constructorMethod · 0.95

Calls 2

nameMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected