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

Function pauseAndDumpStack

deps/v8/test/inspector/debugger/async-chains.js:67–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65})();
66
67async function pauseAndDumpStack() {
68 const {params:{callFrames, asyncStackTrace, asyncStackTraceId}}
69 = await Protocol.Debugger.oncePaused();
70 session.logCallFrames(callFrames);
71 if (asyncStackTrace)
72 session.logAsyncStackTrace(asyncStackTrace);
73 if (asyncStackTraceId)
74 InspectorTest.log(' <external stack>');
75 InspectorTest.log('');
76 return Protocol.Debugger.resume();
77}

Callers 1

async-chains.jsFile · 0.85

Calls 4

logCallFramesMethod · 0.80
logAsyncStackTraceMethod · 0.80
resumeMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected