Adding memory monitor

To add a memory monitor to Memory view:

  1. Start a debugging session.
  2. Click the Memory tab.

    The Memory view appears.

  3. In the Monitors pane toolbar, click the plus-sign (+) icon. Alternatively, right-click a blank area in the Monitors pane and choose Add Memory Monitor from the shortcut menu.

    The Monitor Memory dialog appears.

    Figure 1. Monitor Memory dialog

    Monitor Memory Dialog

  4. Specify information about the memory monitor:
    • To enter a memory space and literal address, enter an address.
    • To enter an expression, type in the expression. If you enter a literal address as the expression, use the prefix 0x to indicate hexadecimal notation, or use no prefix to indicate decimal notation. You can use the available pop-up menu to choose a previously specified expression.
      Note: If you do not select a memory space and the expression does not contain a memory space then the memory space is set to default data memory space that is specific for each architecture
  5. If you want to translate the memory address or the expression to another memory space, select the Memory space checkbox.

    The Memory space pop-up menu becomes available.

  6. Choose one of the following values from the Memory space pop-up menu.
    • Physical - Indicates that the specified address or expression refers to physical memory space.
    • Data - Indicates that the specified address or expression refers to data memory space.
    • Program - Indicates that the specified address or expression refers to program memory space.
  7. Click OK.

The memory monitor is added to the Monitors pane and the default rendering is displayed in the Renderings pane.

Figure 2. Added memory monitor

Added Memory Monitor