You can set a conditional breakpoint to halt the program execution when a condition you specified has been met, such as a counter equaling or exceeding some value.
A conditional breakpoint specifies a relational expression that is composed of three operands:
A line conditional breakpoint is specific to a statement in the program. When the program execution reaches that statement, the condition is tested. If the result evaluates to TRUE, the program execution is halted.
A global conditional breakpoint does not specify to a statement. The condition is tested before each statement in the program. If the result evaluates to TRUE, the program execution halts at that statement. Global conditional breakpoints are resource-intensive and may require considerable overhead.