11.17.7. Breaking on a range of memory cells in the Memory view

To set a memory access breakpoint on a range of memory cells in the Memory view:

  1. Connect to the target.

  2. Load an executable image.

    This procedure uses the dhrystone image provided in the RVDS examples to demonstrate memory access breakpoints.

  3. Select View → Memory from the Code window main menu to open the Memory view.

  4. Set the Start address to the start of the memory area of interest.

  5. Select the range of memory cells for which the breakpoint is to be set. Figure 11.31 shows an example:

    Figure 11.31. Example Memory view showing selected locations

    Example Memory view showing selected locations

  6. Right-click on one of the selected memory locations to display the context menu.

  7. Select Create Breakpoint At... from the context menu to open the Create Breakpoint dialog box. Figure 11.32 shows an example:

    Figure 11.32. Create Breakpoint dialog box showing selected address range

    Create Breakpoint dialog box showing selected address range

    The selected address range is inserted in the Location field, and the breakpoint type is set to Hardware Access by default. Also, the Value Match field is enabled.

  8. Change the breakpoint type, if required.

  9. Leave the Value Match field blank.

  10. Click OK to set the breakpoint and close the Create Breakpoint dialog box.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111