Initializing help system before first use

Tracing Model Execution

Mosel can execute a model in trace mode. When executing in trace mode, the line number of each executed line is written to a trace file named sourcefile-timestamp.trac. This feature can be used to identify the point of failure if a model terminates unexpectedly. Trace mode output can be controlled via annotations, for more see Mosel Command: Tracing Mode.

Complete the following steps to execute a Mosel model in trace mode:

  1. In the Run Configurations drop-down list, select the Mosel source file for which you want to collect coverage data.
  2. Click Run Tools, the fourth button to the right of the Run Configurations drop-down list.
  3. In the menu that appears, click Show Run Dialog.
  4. In the Run Model dialog box, set the Run Mode field to Trace Model Execution.
  5. Click Run.