v8/test/inspector/debugger/wasm-set-breakpoint-breaks-on-first-breakable-location-expected.txt
Kim-Anh Tran 99fc380656 [wasm] Test if setBreakpoint sets breakpoint on first breakable location
Bug: chromium:1105172
Change-Id: I55213b28b619479aadcaaf830453ffde33f0005e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2304569
Commit-Queue: Kim-Anh Tran <kimanh@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68919}
2020-07-17 15:10:41 +00:00

21 lines
674 B
Plaintext

Tests if breakpoint set is first breakable location
Running test function...
Set breakpoint outside of any function: (0, 0).
Setting breakpoint for id: 4 at 0, 0.
{
error : {
code : -32000
message : Could not resolve breakpoint
}
id : <messageId>
}
Set breakpoint could not resolve break location.
Set breakpoint at a breakable location: (0, 40).
Setting breakpoint for id: 4 at 0, 40.
Location match for (0, 40).
Initial location is expected to be breakable: true.
Set breakpoint at non-breakable location: (0, 42).
Setting breakpoint for id: 4 at 0, 42.
Location match for (0, 43).
Initial location is expected to be breakable: false.
Finished!