diff --git a/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js b/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js index 9a2822e8f5740d..f39746a172bf0d 100644 --- a/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js +++ b/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js @@ -14,7 +14,7 @@ setTimeout(() => { `; async function skipBreakpointAtStart(session) { - await session.waitForBreakOnLine(0, '[eval]'); + await session.waitForBreakOnLine(3, '[eval]'); await session.send({ 'method': 'Debugger.resume' }); } diff --git a/test/sequential/test-inspector-async-stack-traces-promise-then.js b/test/sequential/test-inspector-async-stack-traces-promise-then.js index 0acb603147b798..165db81c83d7fe 100644 --- a/test/sequential/test-inspector-async-stack-traces-promise-then.js +++ b/test/sequential/test-inspector-async-stack-traces-promise-then.js @@ -31,7 +31,7 @@ async function runTests() { { 'method': 'Runtime.runIfWaitingForDebugger' } ]); - await session.waitForBreakOnLine(0, '[eval]'); + await session.waitForBreakOnLine(2, '[eval]'); await session.send({ 'method': 'Debugger.resume' }); console.error('[test] Waiting for break1'); diff --git a/test/sequential/test-inspector-async-stack-traces-set-interval.js b/test/sequential/test-inspector-async-stack-traces-set-interval.js index fd294296cb035d..240074f631f329 100644 --- a/test/sequential/test-inspector-async-stack-traces-set-interval.js +++ b/test/sequential/test-inspector-async-stack-traces-set-interval.js @@ -10,7 +10,7 @@ const script = 'setInterval(() => { debugger; }, 50);'; async function skipFirstBreakpoint(session) { console.log('[test]', 'Skipping the first breakpoint in the eval script'); - await session.waitForBreakOnLine(0, '[eval]'); + await session.waitForBreakOnLine(2, '[eval]'); await session.send({ 'method': 'Debugger.resume' }); } diff --git a/test/sequential/test-inspector-break-e.js b/test/sequential/test-inspector-break-e.js index 567ef7911c446d..d988c118740e53 100644 --- a/test/sequential/test-inspector-break-e.js +++ b/test/sequential/test-inspector-break-e.js @@ -1,7 +1,6 @@ // Flags: --expose-internals 'use strict'; const common = require('../common'); - common.skipIfInspectorDisabled(); const assert = require('assert'); @@ -15,7 +14,7 @@ async function runTests() { { 'method': 'Debugger.enable' }, { 'method': 'Runtime.runIfWaitingForDebugger' } ]); - await session.waitForBreakOnLine(0, '[eval]'); + await session.waitForBreakOnLine(2, '[eval]'); await session.runToCompletion(); assert.strictEqual(0, (await instance.expectShutdown()).exitCode); } diff --git a/test/sequential/test-inspector-exception.js b/test/sequential/test-inspector-exception.js index ef67e1d9a57264..8f791740f2feb3 100644 --- a/test/sequential/test-inspector-exception.js +++ b/test/sequential/test-inspector-exception.js @@ -29,7 +29,7 @@ async function testBreakpointOnStart(session) { ]; await session.send(commands); - await session.waitForBreakOnLine(0, script); + await session.waitForBreakOnLine(21, script); } diff --git a/test/sequential/test-inspector-scriptparsed-context.js b/test/sequential/test-inspector-scriptparsed-context.js index e5c3acfdbb8f5d..e1ec209994f18e 100644 --- a/test/sequential/test-inspector-scriptparsed-context.js +++ b/test/sequential/test-inspector-scriptparsed-context.js @@ -51,7 +51,7 @@ async function runTests() { { 'method': 'Debugger.enable' }, { 'method': 'Runtime.runIfWaitingForDebugger' } ]); - await session.waitForBreakOnLine(0, '[eval]'); + await session.waitForBreakOnLine(4, '[eval]'); await session.send({ 'method': 'Runtime.enable' }); await getContext(session);