mirror of
https://github.com/nodejs/node.git
synced 2025-05-16 17:48:20 +00:00

PR-URL: https://github.com/nodejs/node/pull/37330 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
33 lines
695 B
Plaintext
33 lines
695 B
Plaintext
Tests stepping from javascript into 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/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!
|