blob: b22ff77a532fe7880395c9cfc5261218c844d19b [file] [log] [blame]
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 (kExprLocalGet)
Debugger.resume
paused
Script wasm://wasm/7d022e0e byte offset 37: Wasm opcode 0x41 (kExprI32Const)
Debugger.resume
exports.main returned!
Finished!