2021-02-12 11:08:48 +00:00
|
|
|
Test instrumentation breakpoints in wasm.
|
|
|
|
|
|
|
|
Running test: testBreakInStartFunction
|
|
|
|
Setting instrumentation breakpoint
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
breakpointId : <breakpointId>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Compiling wasm module.
|
|
|
|
Paused at v8://test/compile_module with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Instantiating module.
|
|
|
|
Paused at v8://test/instantiate with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Paused at wasm://wasm/20da547a with reason "instrumentation".
|
|
|
|
Script wasm://wasm/20da547a byte offset 26: Wasm opcode 0x01 (kExprNop)
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Instantiating a second time (should trigger no breakpoint).
|
|
|
|
Paused at v8://test/instantiate2 with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Done.
|
|
|
|
|
|
|
|
Running test: testBreakInStartFunctionCompileTwice
|
|
|
|
Setting instrumentation breakpoint
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
breakpointId : <breakpointId>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Instantiating module.
|
|
|
|
Paused at v8://test/instantiate with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Paused at wasm://wasm/20da547a with reason "instrumentation".
|
|
|
|
Script wasm://wasm/20da547a byte offset 26: Wasm opcode 0x01 (kExprNop)
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Instantiating a second time (should trigger another breakpoint).
|
|
|
|
Paused at v8://test/instantiate with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Paused at wasm://wasm/20da547a with reason "instrumentation".
|
|
|
|
Script wasm://wasm/20da547a byte offset 26: Wasm opcode 0x01 (kExprNop)
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-02-12 11:08:48 +00:00
|
|
|
Done.
|
2021-03-16 13:02:00 +00:00
|
|
|
|
|
|
|
Running test: testBreakInExportedFunction
|
|
|
|
Setting instrumentation breakpoint
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
breakpointId : <breakpointId>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Instantiating wasm module.
|
|
|
|
Paused at v8://test/instantiate with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-03-16 13:02:00 +00:00
|
|
|
Calling exported function 'func' (should trigger a breakpoint).
|
|
|
|
Paused at v8://test/call_func with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-03-16 13:02:00 +00:00
|
|
|
Paused at wasm://wasm/8c388106 with reason "instrumentation".
|
|
|
|
Script wasm://wasm/8c388106 byte offset 33: Wasm opcode 0x01 (kExprNop)
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-03-16 13:02:00 +00:00
|
|
|
Calling exported function 'func' a second time (should trigger no breakpoint).
|
|
|
|
Paused at v8://test/call_func with reason "instrumentation".
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-03-16 13:02:00 +00:00
|
|
|
Done.
|
2021-03-16 13:04:05 +00:00
|
|
|
|
|
|
|
Running test: testBreakOnlyWithSourceMap
|
|
|
|
Setting instrumentation breakpoint for source maps only
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
breakpointId : <breakpointId>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Instantiating wasm module without source map.
|
|
|
|
Calling exported function 'func' (should trigger no breakpoint).
|
|
|
|
Instantiating wasm module with source map.
|
|
|
|
Calling exported function 'func' (should trigger a breakpoint).
|
|
|
|
Paused at wasm://wasm/c8e3a856 with reason "instrumentation".
|
|
|
|
Script wasm://wasm/c8e3a856 byte offset 33: Wasm opcode 0x01 (kExprNop)
|
2021-10-12 08:08:40 +00:00
|
|
|
Hit breakpoints: []
|
2021-03-16 13:04:05 +00:00
|
|
|
Done.
|