escargot/tools/debugger/tests/do_break_switch.expected
HyukWoo Park ab86e7137c Fix wrong node position in switch statement
* switch statement has the last location in switch block which incurs an index error in BreakPoint insertion
* fix switch statement to have the start position after switch keyword

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2022-04-18 17:13:58 +09:00

17 lines
884 B
Text

Connecting to: localhost:6501
Connection created!!!
Stopped at tools/debugger/tests/do_break_switch.js:42
(escargot-debugger) break do_break_switch.js:26
Breakpoint 1 at tools/debugger/tests/do_break_switch.js:26 (in test() at line:21, col:1)
(escargot-debugger) b do_break_switch.js:38
Breakpoint 2 at tools/debugger/tests/do_break_switch.js:38 (in f() at line:36, col:1)
(escargot-debugger) b test
Breakpoint 3 at tools/debugger/tests/do_break_switch.js:24 (in test() at line:21, col:1)
(escargot-debugger) c
Stopped at breakpoint:2 tools/debugger/tests/do_break_switch.js:38 (in f() at line:36, col:1)
(escargot-debugger) c
Stopped at breakpoint:3 tools/debugger/tests/do_break_switch.js:24 (in test() at line:21, col:1)
(escargot-debugger) c
Stopped at breakpoint:1 tools/debugger/tests/do_break_switch.js:26 (in test() at line:21, col:1)
(escargot-debugger) c
Connection closed.