MCPcopy
hub / github.com/microsoft/vscode-js-debug / stackTrace

Method stackTrace

src/adapter/threads.ts:421–424  ·  view source on GitHub ↗
(params: Dap.StackTraceParams)

Source from the content-addressed store, hash-verified

419 }
420
421 async stackTrace(params: Dap.StackTraceParams): Promise<Dap.StackTraceResult | Dap.Error> {
422 if (!this._pausedDetails) return errors.createSilentError(l10n.t('Thread is not paused'));
423 return this._pausedDetails.stackTrace.toDap(params);
424 }
425
426 async scopes(params: Dap.ScopesParams): Promise<Dap.ScopesResult | Dap.Error> {
427 const stackFrame = this._pausedDetails

Callers

nothing calls this directly

Calls 1

toDapMethod · 0.65

Tested by

no test coverage detected