You would want to set a conditional breakpoint to know when a condition you specified has been met, such as a counter equaling or exceeding some value.
To set a conditional breakpoint
The Breakpoint Properties dialog opens.
The Conditional Breakpoint Configuration box opens. Complete the following fields:
Specifies the variable whose existing value needs to be compared using a condition.
Lists the operators you can use in your condition. Select an operator for the condition.
Lists the target values to compare with the existing value for the variable. Select one of the following values from the drop-down list:
CA InterTest saves the changes and closes the dialog. The breakpoint suspends program execution until the result of the condition changes.