v8/test/inspector/debugger/stepping-and-break-program-api-expected.txt
kozyatinskiy c418902be4 [inspector] don't make v8::debug::Call for breakProgram.
We emulate break by callling breakProgramCallback function in debugger context, we can just use HandleDebugBreak.
It allows us to move all stepping logic to debug.cc later and remove one usage of debugger context.
+ two minor issues fixed, see tests.

BUG=v8:5510
R=yangguo@chromium.org

Review-Url: https://codereview.chromium.org/2738503006
Cr-Commit-Position: refs/heads/master@{#43750}
2017-03-13 14:59:43 +00:00

20 lines
274 B
Plaintext

Checks that stepping is cleared after breakProgram.
paused at:
function callBreakProgram() {
#debugger;
breakProgram('reason', '');
paused at:
debugger;
#breakProgram('reason', '');
}
paused at:
debugger;
#breakProgram('reason', '');
}
paused at:
#debugger;