Setting "ignore count" of a Watchpoint

A special case of a watchpoint condition (see Changing watchpoint condition) is to stop only when value of the watchpoint expression has changed a certain number of times. This is so useful that there is a special way to do it, using the "ignore count" of the watchpoint. Every watchpoint has an ignore count, which is an integer. Most of the time, the ignore count is zero, and therefore has no effect. If the ignore count value is N, the watchpoint does not stop the next N times when value of the watchpoint expression changes.

To set an ignore count value of a watchpoint

  1. From the Edit menu, choose Watchpoints.

  2. In the Debug Object manager dialog on the Watchpoints tab select the watchpoint you want to modify and click the Modify button.

  3. In the Watchpoint dialog in the Ignore count text box, type the ignore count value. It must be an integer. By default ignore count of a watchpoint is 0.

See also:

Setting watchpoints