Initializing help system before first use

Examining Variables

While the model is suspended, you can inspect its data using the Variables section in the Debugger sidebar.

The variables section contains the following entries:

  • An entry for each local variable defined in the current subroutine

    If the current statement is not within a subroutine, no local variables are available.

  • Global symbols

    Expand this entry to see variables that are declared at the top level of the model.

  • Parameters

    Expand this entry to see runtime parameters defined in the model.

  • Constants

    Expand this entry to see any constant declarations in the model.

  • An entry for each namespace defined in the model

    Expand these entries to see the global variables defined in each namespace.

The Variables section shows the name, type, and value of each variable. If a variable holds structured data, such as a set, array, list, or user-defined record, the entry for that variable can be expanded. Complete the following steps to expand a variable:

  1. Click the arrow to the left of its name.
    The entries within the data structure appears.
  2. Continue to expand the entries until you see the data that you require.
    Note You can also see the value of a variable by hovering the mouse over a reference to the variable in the active source file.