pause inhibits error display when executed in try-catch block
@benoitpremy)
Reported by Benoît Remy (BUG DESCRIPTION:
----------------
The execution of the 'pause' command in a try-catch block followed by the execution of an 'abort' command inhibits error displays.
ERROR LOG:
----------
(No error displayed)
HOW TO REPRODUCE THE BUG:
-------------------------
//Firstly, execute the following block in the command line:
try
pause
end
//Secondly, execute the 'abort' command in the pause mode:
abort
//Back to the normal mode, note that the errors are not shown:
error("This should report an error!")
//but warnings are:
warning("This does report a warning.")
OTHER INFORMATION:
------------------
- Other types of displays (such as "Type 'resume' or 'abort' to return to standard level prompt." when using the pause command again) are not shown either. However, warnings are displayed on the contrary.
- Repeating the process with a 'continue' command does not result in the same behaviour.
- It seems that the program needs to be restarted completely for errors to be displayed again.
Edited by scilab bot