escargot/tools/debugger/tests/do_pending_breakpoints_functions.expected
bence gabor kis a88023c9c2 Debugger pending breakpoints
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-05-22 11:14:33 +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 input:2 (in f() at line:1, col:1)
Breakpoint 5 at eval input:2 (in b() at line:1, col:1)
Stopped at breakpoint:4 eval input:2 (in f() at line:1, col:1)
(escargot-debugger) list
=== Active breakpoints ===
4: eval input:2 (in f() at line:1, col:1)
5: eval input:2 (in b() at line:1, col:1)
=== Pending breakpoints ===
3: non-existing-breakingpoint() (pending)
(escargot-debugger) source
Source: eval input
1 function f()
2 > { return 5 }
(escargot-debugger) c
Print: 5
Stopped at breakpoint:5 eval input:2 (in b() at line:1, col:1)
(escargot-debugger) source
Source: eval input
1 function b()
2 > { return 8 }
(escargot-debugger) c
Print: 8
Connection closed.