Support abort in the debugger. (#2273)
Aborts are not caught by catch/finally blocks, so it is possible to stop a script using the debugger. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Connecting to: localhost:5001
|
||||
Stopped at tests/debugger/do_abort.js:24
|
||||
(jerry-debugger) s
|
||||
Stopped at tests/debugger/do_abort.js:25
|
||||
(jerry-debugger) s
|
||||
Stopped at tests/debugger/do_abort.js:26
|
||||
(jerry-debugger) s
|
||||
Stopped at tests/debugger/do_abort.js:20 (in g() at line:19, col:1)
|
||||
(jerry-debugger) s
|
||||
Stopped at tests/debugger/do_abort.js:16 (in f() at line:15, col:1)
|
||||
(jerry-debugger) abort new Error('Fatal error :)')
|
||||
err: Script Error: Error: Fatal error :)
|
||||
Reference in New Issue
Block a user