StackTrace view
The StackTrace view is normally part of the StackTrace window, which is shown if an error occurs while debugging a model.
The view shows:
- Error Message: description of the error
- Process Name: process in which the error occurred
- Stack: list of stackframes that led to the error
When selecting a stackframe, the StackTrace Variables view shows all parameters and variables that are accessible by the stackframe.
The corresponding fragment of the model is highlighted in the editor.
Apart from the native built-in errors, POOSL models can also trigger their own errors by calling the data method called "error". The custom error message has to be provided as the argument of this method call.