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

Method _isBreakOnLineNotification

test/common/inspector-helper.js:253–264  ·  view source on GitHub ↗
(message, line, expectedScriptPath)

Source from the content-addressed store, hash-verified

251 }
252
253 _isBreakOnLineNotification(message, line, expectedScriptPath) {
254 if (message.method === 'Debugger.paused') {
255 const callFrame = message.params.callFrames[0];
256 const location = callFrame.location;
257 const scriptPath = this._scriptsIdsByUrl.get(location.scriptId);
258 assert.strictEqual(decodeURIComponent(scriptPath),
259 decodeURIComponent(expectedScriptPath),
260 `${scriptPath} !== ${expectedScriptPath}`);
261 assert.strictEqual(location.lineNumber, line);
262 return true;
263 }
264 }
265
266 waitForBreakOnLine(line, url) {
267 return this

Callers 1

waitForBreakOnLineMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected