node/deps/v8/test/inspector/debugger/wasm-conditional-breakpoints-expected.txt
Michaël Zasso 732ad99e47
deps: update V8 to 9.0.257.11
PR-URL: https://github.com/nodejs/node/pull/37587
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2021-03-15 15:54:50 +01:00

67 lines
1.9 KiB
Plaintext

Test conditional breakpoints in wasm.
Running test: test
Instantiating.
Waiting for wasm script.
Got wasm script: wasm://wasm/f00dbc56
Setting breakpoint at offset 34, condition "false"
{
id : <messageId>
result : {
actualLocation : {
columnNumber : 34
lineNumber : 0
scriptId : <scriptId>
}
breakpointId : <breakpointId>
}
}
Setting breakpoint at offset 41, condition "true"
{
id : <messageId>
result : {
actualLocation : {
columnNumber : 41
lineNumber : 0
scriptId : <scriptId>
}
breakpointId : <breakpointId>
}
}
Setting breakpoint at offset 46, condition "$var0.value==3"
{
id : <messageId>
result : {
actualLocation : {
columnNumber : 46
lineNumber : 0
scriptId : <scriptId>
}
breakpointId : <breakpointId>
}
}
Calling fib(5)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 5 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 4 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 3 (i32)
Script wasm://wasm/f00dbc56 byte offset 46: Wasm opcode 0x10 (kExprCallFunction)
$var0: 3 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 2 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 1 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 2 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 3 (i32)
Script wasm://wasm/f00dbc56 byte offset 46: Wasm opcode 0x10 (kExprCallFunction)
$var0: 3 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 2 (i32)
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
$var0: 1 (i32)
fib returned!