v8/test/inspector/debugger/wasm-set-breakpoint-breaks-on-first-breakable-location-expected.txt
Benedikt Meurer 6f448efbef [inspector] Make wasm tests fail rather than time out.
Consistently use InspectorTest.runAsyncTestSuite() in wasm inspector
tests to make tests easier to debug (they'll fail instead of timing
out in case of errors).

Bug: chromium:1162229, chromium:1071432
Change-Id: I7aada196f9e34071aa1bb059bb45f85f75226060
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2609414
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71908}
2021-01-05 07:38:57 +00:00

23 lines
685 B
Plaintext

Tests if breakpoint set is first breakable location
Running test: test
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.