jerryscript/tests/debugger/do_throw.expected
Zoltan Herczeg e91471727f
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
2018-04-11 13:59:13 +02:00

21 lines
1.2 KiB
Plaintext

Connecting to: localhost:5001
Stopped at tests/debugger/do_throw.js:23
(jerry-debugger) s
Stopped at tests/debugger/do_throw.js:24
(jerry-debugger) s
Stopped at tests/debugger/do_throw.js:26
(jerry-debugger) s
Stopped at tests/debugger/do_throw.js:27
(jerry-debugger) s
Stopped at tests/debugger/do_throw.js:20 (in g() at line:19, col:1)
(jerry-debugger) s
Stopped at tests/debugger/do_throw.js:16 (in f() at line:15, col:1)
(jerry-debugger) throw new Error('Escape')
Stopped at tests/debugger/do_throw.js:31
(jerry-debugger) throw new Error('Once upon a time there lived in a certain village a little country girl, the prettiest creature who was ever seen. Her mother was excessively fond of her; and her grandmother doted on her still more. This good woman had a little red riding hood made for her. It suited the girl so extremely well that everybody called her Little Red Riding Hood. One day her mother, having made some cakes, said to her, "Go, my dear, and see how your grandmother is doing, for I hear she has been very ill. Take her a cake, and this little pot of butter."')
Stopped at tests/debugger/do_throw.js:34
(jerry-debugger) eval e.message.length
538
(jerry-debugger) throw new Error('Exit')
err: Script Error: Error: Exit