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

Method createScope

valdi/vscode_debugger/src/adapter/variables.ts:274–283  ·  view source on GitHub ↗
(
    value: Cdp.Runtime.RemoteObject,
    scopeRef: IScopeRef,
    extraProperties: IExtraProperty[],
  )

Source from the content-addressed store, hash-verified

272 }
273
274 async createScope(
275 value: Cdp.Runtime.RemoteObject,
276 scopeRef: IScopeRef,
277 extraProperties: IExtraProperty[],
278 ): Promise<Dap.Variable> {
279 const object = new RemoteObject('', this._cdp, value);
280 object.scopeRef = scopeRef;
281 object.extraProperties = extraProperties;
282 return this._createVariable('', object);
283 }
284
285 async createVariableForOutput(
286 text: string,

Callers 1

_scopeVariableMethod · 0.80

Calls 1

_createVariableMethod · 0.95

Tested by

no test coverage detected