Interpreter: Internal errors are reported as "internal error" but could have displayed the real problem description #444
Labels
enhancement
Not a bug, but nice to have
Milestone
The handling of internal errors in the interpreter is not useful since it just displays "internal error" but in many cases it might be e.g. a stack overflow indicating that a recursive function in a model may need a bigger stack size.
See the MainThread.java and search for "internal error" e.g:
overture/core/interpreter/src/main/java/org/overture/interpreter/scheduler/MainThread.java
Line 106 in 93290ef
If a stack overflow exception is thrown it just shows "internal error" in the debugger by sending the following messages:
but it could have done better since the exception it caught was a stackoverflow inner exception.
The text was updated successfully, but these errors were encountered: