Fix the exception handler bug (#1780)

If the debugger evaluate a variable out of the scope in eval mode, its get an error.

JerryScript-DCO-1.0-Signed-off-by: Levente Orban orbanl@inf.u-szeged.hu
This commit is contained in:
Levente Orban
2017-04-26 13:29:16 +02:00
committed by yichoi
parent 8aca0acaa1
commit 9d4123c3c4
4 changed files with 39 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
Connecting to: localhost:5001
Stopped at tests/debugger/do_eval_syntax.js:24
(jerry-debugger) n
Stopped at tests/debugger/do_eval_syntax.js:26
(jerry-debugger) eval loop
Uncaught exception: Error
(jerry-debugger) c
Connection closed.