v8/test/inspector/debugger/wasm-stepping-in-from-js-expected.txt
Kim-Anh Tran f21291bc41 [wasm][debug] Clean up inspector tests
Extract commonly used instantiate() and evalWithUrl() functions.

Bug: chromium:1093165
Change-Id: I14f8b49d556bc70d2092a80b41c5bbf678efd1a9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2245599
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@{#68356}
2020-06-16 08:35:09 +00:00

32 lines
653 B
Plaintext

Tests stepping from javascript into wasm
Calling instantiate function.
Waiting for wasm scripts to be parsed.
Ignoring script with url v8://test/instantiate
Got wasm script: wasm://wasm/7d022e0e
Setting breakpoint on i32.const
{
columnNumber : 37
lineNumber : 0
scriptId : <scriptId>
}
paused
function test() {
#debugger;
instance.exports.main(1);
Debugger.stepInto
paused
debugger;
#instance.exports.main(1);
}
Debugger.stepInto
paused
Script wasm://wasm/7d022e0e byte offset 35: Wasm opcode 0x20
Debugger.resume
paused
Script wasm://wasm/7d022e0e byte offset 37: Wasm opcode 0x41
Debugger.resume
exports.main returned!
Finished!