MCPcopy Create free account
hub / github.com/nodejs/node / waitForPause

Function waitForPause

deps/v8/test/inspector/debugger/wasm-stepping.js:172–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172async function waitForPause() {
173 const {params: {callFrames}} = await Protocol.Debugger.oncePaused();
174 const [currentFrame] = callFrames;
175 await InspectorTest.log('Function: ' + currentFrame.functionName);
176 await session.logSourceLocation(currentFrame.location);
177}

Callers 2

wasm-stepping.jsFile · 0.70
waitForPauseAndStepFunction · 0.70

Calls 2

logSourceLocationMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected