11.19.2. Setting a data only breakpoint

To set a data only breakpoint:

  1. Connect to the target.

  2. Load an executable image.

    This procedure uses the dhrystone image provided in the RVDS examples.

  3. Select Debug → Breakpoints → Create Breakpoint... from the Code window main menu to open the Create Breakpoint dialog box.

  4. On the Create Breakpoint dialog box, choose the Breakpoint Type you require.

    For example, select Hardware DataValue Access.

    The Location field is disabled, and the Value Match field is enabled.

  5. Enter the required value in the Value Match field.

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

    In this example, the breakpoint activates when the specified value is read from or written to any address.

  7. If you want to see the breakpoint details, then display the Break/Tracepoints view.

See also

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