Skip to main content

IAR Embedded Workbench for RX 5.20

Statics window

In this section:

The Statics window is available from the View menu.

StaticsWin_FF94_04.png

This window displays the values of variables with static storage duration that you have selected. Typically, that is variables with file scope but it can also be static variables in functions and classes. Note that volatile declared variables with static storage duration will not be displayed.

Every time execution in C-SPY stops, the values in the Statics window are recalculated. Values that have changed since the last stop are highlighted in red.

Click any column header (except for Value) to sort on that column.

To select variables to monitor:
  1. In the window, right-click and choose Select Statics from the context menu. The window now lists all variables with static storage duration.

  2. Either individually select the variables you want to display, or choose one of the Select commands from the context menu.

  3. When you have made your selections, choose Select Statics from the context menu to toggle back to normal display mode.