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

Method execStateScopeObject

deps/v8/test/debugger/test-api.js:353–362  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

351 // This is in contrast to the original API, which simply passed object
352 // mirrors.
353 execStateScopeObject(obj) {
354 const serialized_scope = this.getProperties(obj.objectId);
355 const scope = this.propertiesToObject(serialized_scope);
356 return { value : () => scope,
357 property : (prop) =>
358 this.execStateScopeObjectProperty(serialized_scope, prop),
359 properties : () => serialized_scope.map(elem => elem.value),
360 propertyNames : () => serialized_scope.map(elem => elem.name)
361 };
362 }
363
364 setVariableValue(frame, scope_index, name, value) {
365 const frameid = frame.callFrameId;

Callers 1

execStateScopeMethod · 0.95

Calls 4

getPropertiesMethod · 0.95
propertiesToObjectMethod · 0.95
mapMethod · 0.65

Tested by

no test coverage detected