13.11.5. Viewing memory associated with a variable in source code

If a variable is in the current scope, then you can view the memory at the value or address of that variable.

To view the memory associated with a variable in your source code:

  1. Open the source file containing the variable, if it is not already open.

  2. Locate the variable in the source file tab.

  3. Right-click on the variable name to display the context menu.

  4. Do one of the following:

    • Select View Memory at Value from the context menu to display the Memory view. The start address is set to the value of the chosen variable. Figure 13.32 shows an example.

      Figure 13.32. Memory view at a value in a variable

      Memory view at a value in a variable

    • Select View Memory at Address from the context menu to display the Memory view. The start address is set to the address of the chosen variable.

      Note

      This option cannot be used for register and constant variables.

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential