v8/test/inspector/debugger/pause-on-instrumentation-expected.txt
Jaroslav Sevcik 283fb5f06f [inspector] Trigger requested pause after instrumentation pause
If a CDP client requests Debugger.pause during instrumentation pause,
the requests is currently ignored.

With this patch, the debugger will take note of a pause request during
instrumentation pause and enter the pause once the instrumentation pause
resumes.

Bug: chromium:1381967
Change-Id: I4d0337a92fa31d0666ab02b54f95aba4d89592b3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4008379
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84138}
2022-11-09 09:42:37 +00:00

11 lines
333 B
Plaintext

Test if pauses break execution when requested during instrumentation pause in js
Running test: testPauseDuringInstrumentationPause
Set instrumentation breakpoints and requested script evaluation.
Paused at foo.js with reason "instrumentation".
Requested debugger pause.
Resumed.
Paused at foo.js with reason "other".
Resumed.
Done.