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:

  1. Error Message: description of the error
  2. Process Name: process in which the error occurred
  3. 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.