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

Method _onVariables

src/adapter/debugAdapter.ts:468–471  ·  view source on GitHub ↗
(params: Dap.VariablesParams)

Source from the content-addressed store, hash-verified

466 }
467
468 async _onVariables(params: Dap.VariablesParams): Promise<Dap.VariablesResult> {
469 const variableStore = this.findVariableStore(v => v.hasVariable(params.variablesReference));
470 return { variables: (await variableStore?.getVariables(params)) ?? [] };
471 }
472
473 async _onReadMemory(params: Dap.ReadMemoryParams): Promise<Dap.ReadMemoryResult> {
474 const ref = params.memoryReference;

Callers 1

constructorMethod · 0.95

Calls 3

findVariableStoreMethod · 0.95
hasVariableMethod · 0.80
getVariablesMethod · 0.80

Tested by

no test coverage detected