How do I set a breakpoint on data?

If your target permits the use of hardware breakpoints, you can set a breakpoint (HW Access) that is triggered according to the value of specified data, sometimes referred to as a watchpoint. The variable that you specify must be located in memory. It is monitored during execution, and when it reaches the specified value, execution stops.

To set a HW Access breakpoint on a specific data value, use the Set Address/Data Breakpoint dialog, Select HW access as the Breakpoint Type, and specify the Location and Value Match.

You can access the dialog in any of the following ways:

If you simply want to monitor the value of a variable as you step through your program, or at various breakpoints, you can set it up as a watch in the Code window Watch pane.

image\lamp.gifHardware breakpoints are available with the localhost connection to RealView ARMulator ISS

Related Topics