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

Method scopes

valdi/vscode_debugger/src/adapter/threads.ts:269–275  ·  view source on GitHub ↗
(params: Dap.ScopesParams)

Source from the content-addressed store, hash-verified

267 }
268
269 async scopes(params: Dap.ScopesParams): Promise<Dap.ScopesResult | Dap.Error> {
270 const stackFrame = this._pausedDetails
271 ? this._pausedDetails.stackTrace.frame(params.frameId)
272 : undefined;
273 if (!stackFrame) return this._stackFrameNotFoundError();
274 return stackFrame.scopes();
275 }
276
277 async exceptionInfo(): Promise<Dap.ExceptionInfoResult | Dap.Error> {
278 const exception = this._pausedDetails && this._pausedDetails.exception;

Callers

nothing calls this directly

Calls 3

scopesMethod · 0.65
frameMethod · 0.45

Tested by

no test coverage detected