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

Function test

deps/v8/test/inspector/debugger/framework-stepping.js:98–111  ·  view source on GitHub ↗
(entryExpression, actions)

Source from the content-addressed store, hash-verified

96];
97
98function test(entryExpression, actions) {
99 Protocol.Debugger.onPaused(message => {
100 var action = actions.shift() || 'resume';
101 if (action === 'print') {
102 session.logCallFrames(message.params.callFrames);
103 InspectorTest.log('');
104 action = actions.shift() || 'resume';
105 }
106 if (action) InspectorTest.log(`Executing ${action}...`);
107 Protocol.Debugger[action]();
108 });
109 return Protocol.Runtime.evaluate(
110 {expression: entryExpression + '//# sourceURL=expr.js'});
111}

Callers 1

Calls 5

onPausedMethod · 0.80
logCallFramesMethod · 0.80
shiftMethod · 0.45
logMethod · 0.45
evaluateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…