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

Function testPositions

deps/v8/test/inspector/debugger/framework-precise-ranges.js:65–73  ·  view source on GitHub ↗
(positions)

Source from the content-addressed store, hash-verified

63];
64
65function testPositions(positions) {
66 contextGroup.schedulePauseOnNextStatement('', '');
67 return Protocol.Debugger
68 .setBlackboxedRanges({scriptId: scriptId, positions: positions})
69 .then(InspectorTest.logMessage)
70 .then(
71 () => Protocol.Runtime.evaluate(
72 {expression: 'testFunction()//# sourceURL=expr.js'}));
73}
74
75function position(line, column) {
76 return {lineNumber: line, columnNumber: column};

Callers 1

Calls 3

thenMethod · 0.45
evaluateMethod · 0.45

Tested by

no test coverage detected