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

Method allScopes

deps/v8/test/debugger/test-api.js:604–610  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

602 const index = +frame.callFrameId.split(".")[2];
603
604 function allScopes() {
605 const scopes = [];
606 for (let i = 0; i < frame.scopeChain.length; i++) {
607 scopes.push(this.execStateScope(frame, i));
608 }
609 return scopes;
610 }
611
612 return { sourceColumn : () => column,
613 sourceLine : () => line + 1,

Callers 15

listenerFunction · 0.80
listenerFunction · 0.80
listenerFunction · 0.80
CheckFastAllScopesFunction · 0.80
CheckScopeChainFunction · 0.80
CheckScopeChainNamesFunction · 0.80
CheckScopeChainPositionsFunction · 0.80
CheckFastAllScopesFunction · 0.80
CheckScopeChainFunction · 0.80
listenerFunction · 0.80

Calls 2

execStateScopeMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected