[INTERPRETER]

* BUG: If there is an error, wake up the debugger on the current stack 
  position. Return to the last encountered line break after, not before.


git-svn-id: svn://localhost/gambas/trunk@4841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-06-17 09:12:31 +00:00
parent c08d51f483
commit b98a33c671

View file

@ -966,6 +966,8 @@ void EXEC_function_loop()
if (EXEC_debug && !STACK_has_error_handler())
{
DEBUG.Main(TRUE);
if (TP && TC)
{
ERROR_lock();
@ -981,7 +983,6 @@ void EXEC_function_loop()
ERROR_unlock();
}
DEBUG.Main(TRUE);
retry = TRUE;
}
else