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

Method _onVariables

valdi/vscode_debugger/src/adapter/debugAdapter.ts:226–230  ·  view source on GitHub ↗
(params: Dap.VariablesParams)

Source from the content-addressed store, hash-verified

224 }
225
226 async _onVariables(params: Dap.VariablesParams): Promise<Dap.VariablesResult> {
227 const variableStore = this._findVariableStore(params.variablesReference);
228 if (!variableStore) return { variables: [] };
229 return { variables: await variableStore.getVariables(params) };
230 }
231
232 async _onSetVariable(params: Dap.SetVariableParams): Promise<Dap.SetVariableResult | Dap.Error> {
233 const variableStore = this._findVariableStore(params.variablesReference);

Callers 1

constructorMethod · 0.95

Calls 2

_findVariableStoreMethod · 0.95
getVariablesMethod · 0.80

Tested by

no test coverage detected