2021-02-02 10:38:53 +00:00
|
|
|
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>
|
|
|
|
}
|
|
|
|
}
|
2021-02-08 15:39:00 +00:00
|
|
|
Setting breakpoint at offset 46, condition "$var0.value==3"
|
2021-02-02 10:38:53 +00:00
|
|
|
{
|
|
|
|
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)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 5 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 4 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 3 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 46: Wasm opcode 0x10 (kExprCallFunction)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 3 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 2 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 1 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 2 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 3 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 46: Wasm opcode 0x10 (kExprCallFunction)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 3 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 2 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
Script wasm://wasm/f00dbc56 byte offset 41: Wasm opcode 0x0d (kExprBrIf)
|
2021-02-08 15:39:00 +00:00
|
|
|
$var0: 1 (i32)
|
2021-02-02 10:38:53 +00:00
|
|
|
fib returned!
|