6f448efbef
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}
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
Tests stepping to javascript from wasm
|
|
|
|
Running test: test
|
|
Calling instantiate function.
|
|
Waiting for wasm scripts to be parsed.
|
|
Ignoring script with url v8://test/instantiate
|
|
Got wasm script: wasm://wasm/242f4a16
|
|
Setting breakpoint at start of wasm function
|
|
{
|
|
columnNumber : 33
|
|
lineNumber : 0
|
|
scriptId : <scriptId>
|
|
}
|
|
Start run 1
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main();
|
|
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 33: Wasm opcode 0x01 (kExprNop)
|
|
Debugger.stepOut
|
|
paused
|
|
instance.exports.main();
|
|
var x = #1;
|
|
x++;
|
|
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished run 1!
|
|
|
|
Start run 2
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main();
|
|
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 33: Wasm opcode 0x01 (kExprNop)
|
|
Debugger.stepOver
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 34: Wasm opcode 0x0b (kExprEnd)
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished run 2!
|
|
|
|
Start run 3
|
|
paused
|
|
function test() {
|
|
#debugger;
|
|
instance.exports.main();
|
|
|
|
Debugger.resume
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 33: Wasm opcode 0x01 (kExprNop)
|
|
Debugger.stepInto
|
|
paused
|
|
Script wasm://wasm/242f4a16 byte offset 34: Wasm opcode 0x0b (kExprEnd)
|
|
Debugger.resume
|
|
exports.main returned!
|
|
Finished run 3!
|
|
|