Setting a conditional hardware breakpoint

 

If your target supports hardware breakpoints:

  1. Select Breakpoints Hardware from the Code window Debug menu.

  2. Select one of the following options:

HW Break if in Range...

HW While in func/range, Break if XXX...

HW Break if X, then if Y...

HW Break on Data Value match...

Alternatively, you can use the Set Address/Data Breakpoint dialog.