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

Function startTest

deps/v8/test/inspector/debugger/set-async-call-stack-depth.js:76–83  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

74]);
75
76function startTest(params) {
77 InspectorTest.log('Actual call chain length: 4');
78 InspectorTest.log(`setAsyncCallStackDepth(maxDepth): ${params.limit}`);
79
80 Protocol.Debugger.setAsyncCallStackDepth({maxDepth: params.limit});
81 Protocol.Runtime.evaluate({expression:
82 `asyncChain(${params.breakAtEnd})`});
83}
84
85function dumpCaptured(stack) {
86 let count = 0;

Callers 1

Calls 2

logMethod · 0.45
evaluateMethod · 0.45

Tested by

no test coverage detected