Setting a Data Breakpoint

To set a data breakpoint:

Select the data variable on which you wish to set the data breakpoint.

Click the Add Watch Expression button.

 

The Breakpoints tab in the action window will display the thread on which the data breakpoint occurs.

A conditional breakpoint can be set on an array, but won’t work with a pointer to a value or a dynamically allocated array.