MCPcopy Index your code
hub / github.com/nodejs/node / execStateScope

Method execStateScope

deps/v8/test/debugger/test-api.js:380–390  ·  view source on GitHub ↗
(frame, scope_index)

Source from the content-addressed store, hash-verified

378 }
379
380 execStateScope(frame, scope_index) {
381 const scope = frame.scopeChain[scope_index];
382 return { scopeType : () => this.execStateScopeType(scope.type),
383 scopeIndex : () => scope_index,
384 frameIndex : () => frame.callFrameId,
385 scopeObject : () => this.execStateScopeObject(scope.object),
386 setVariableValue :
387 (name, value) => this.setVariableValue(frame, scope_index,
388 name, value),
389 };
390 }
391
392 // Takes a list of properties as produced by getProperties and turns them
393 // into an object.

Callers 2

allScopesMethod · 0.95
execStateFrameMethod · 0.95

Calls 3

execStateScopeTypeMethod · 0.95
execStateScopeObjectMethod · 0.95
setVariableValueMethod · 0.95

Tested by

no test coverage detected