escargot/tools/debugger/tests/do_pending_breakpoints_functions.expected
HyukWoo Park ebd5a42641 Fix backtrace info within eval code
* collect backtrace info including eval codes

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2022-05-20 08:44:14 +09:00

42 lines
1.4 KiB
Text

Connecting to: localhost:6501
Connection created!!!
Stopped at tools/debugger/tests/do_pending_breakpoints_functions.js:20
(escargot-debugger) b f
No breakpoint found, do you want to add a pending breakpoint? (y or [n])
Pending breakpoint 1 at f()
(escargot-debugger) b b
No breakpoint found, do you want to add a pending breakpoint? (y or [n])
Pending breakpoint 2 at b()
(escargot-debugger) b non-existing-breakingpoint
No breakpoint found, do you want to add a pending breakpoint? (y or [n])
Pending breakpoint 3 at non-existing-breakingpoint()
(escargot-debugger) list
=== Pending breakpoints ===
1: f() (pending)
2: b() (pending)
3: non-existing-breakingpoint() (pending)
(escargot-debugger) c
Print: pending-breakpoints_functions
Breakpoint 4 at eval code:2 (in f() at line:1, col:1)
Breakpoint 5 at eval code:2 (in b() at line:1, col:1)
Stopped at breakpoint:4 eval code:2 (in f() at line:1, col:1)
(escargot-debugger) list
=== Active breakpoints ===
4: eval code:2 (in f() at line:1, col:1)
5: eval code:2 (in b() at line:1, col:1)
=== Pending breakpoints ===
3: non-existing-breakingpoint() (pending)
(escargot-debugger) source
Source: eval code
1 function f()
2 > { return 5 }
(escargot-debugger) c
Print: 5
Stopped at breakpoint:5 eval code:2 (in b() at line:1, col:1)
(escargot-debugger) source
Source: eval code
1 function b()
2 > { return 8 }
(escargot-debugger) c
Print: 8
Connection closed.