Mapping memory for a register

While in the Registers view, you can map a register in the Memory Rendering view by right-clicking the register and selecting Monitor Memory > <memory map> (where <memory map> is the memory map that you want to use) or Monitor Memory > Map (which opens a dialog box, in which you can choose or browse for the memory map that you want to use).

About this task

Alternatively, you can map a register in the Memory Rendering view using the Add Memory Rendering dialog box or in conjunction with a memory monitoring in the Memory view.

To render memory using the Add Memory Rendering dialog box, complete these steps:

Procedure

  1. In the Registers view, select the register that you want to monitor. If necessary, expand the Register nodes and use the scroll bars or PageUp and PageDown keys to scroll the Registers view until the register is visible.
  2. Make note of the register's name.
  3. Switch to the Memory Rendering view and click the Add Memory Rendering button or choose the Add Memory Rendering pop-up menu item.
    Note: The Add Memory Rendering pop-up menu item is only available when there are no memory monitors in the Memory Rendering view.
  4. In the Add Memory Rendering dialog box, click the Add New button..
  5. In the Monitor Memory dialog box, enter the name of the register in the field (this entry does not need to be case-sensitive) or, if you have previously monitored the register when debugging this application, choose it from the pull down list.
  6. Click OK to return to the Add Memory Rendering dialog box.
  7. Perform one of the following tasks:
    1. In the Add Memory Rendering dialog box, select the map that you want to use for the memory rendering and then click OK.
      Note: If the map that you want to use is not in the memory rendering list, you will need to set the memory map location to point to the location of the memory map that you want to use. For further information about setting the memory map location, see the related topic.
    2. In the Add Memory Rendering dialog box, select Map and then choose or browse for the memory map that you want to use.
    3. Click Cancel in the Add Memory Rendering dialog box to return to the Memory Rendering view. The view will be populated with the memory rendering selection list. From this list, select the map that you want to use for the memory rendering and then click Add Rendering(s). Alternatively, select Map and then choose or browse for the memory map that you want to use.

Results

To map memory when monitoring memory in the Memory view, add the register to the Memory view. This will automatically cause the Memory Rendering view to be populated with the memory rendering selection list for the register. From this list, select the map that you want to use for the memory rendering and then click Add Rendering(s). Alternatively, select Map and then choose or browse for the memory map that you want to use.


Feedback