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

Method getLocalScopeDetails

deps/v8/test/debugger/test-api.js:422–432  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

420 }
421
422 getLocalScopeDetails(frame) {
423 const scopes = frame.scopeChain;
424 for (let i = 0; i < scopes.length; i++) {
425 const scope = scopes[i]
426 if (scope.type == "local") {
427 return this.getProperties(scope.object.objectId);
428 }
429 }
430
431 return undefined;
432 }
433
434 execStateFrameLocalCount(frame) {
435 const scope_details = this.getLocalScopeDetails(frame);

Callers 3

Calls 1

getPropertiesMethod · 0.95

Tested by

no test coverage detected