Adding variable location to view

A variable location can be a memory address or a register. This can change from one execution point to another in the target application. The return value will be a hexadecimal ("0x...") value if the variable is in memory; if it is in a register, $<register-name> will be returned.

To add the variable location column in the Variables view:

  1. Open the pop-up menu in the Variables view .
  2. Choose Layout > Select Columns.

    The Select Columns dialog appears.

    Figure 1. Select Columns dialog

    Select Columns

    Note: In the Variables view, Freescale CDT (C/C++ Development toolkit) does not support the Actual Type column. This column is relevant for C++ only when RTTI (Runtime type information) is used. Choose Window > Preferences... > C/C++ > Debug > CodeWarrior Debugger, and select the Attempt to show the dynamic runtime type of objects checkbox to get declared types displaying the Actual types.
  3. Select the Location checkbox.
  4. Click OK.
    Tip: You can use the Select Columns dialog to hide/show different columns in the Variables view.

The variable location column appears in the Variables view.