Previous Topic: Set Hit Counts and Conditional BreakpointsNext Topic: Set a Hit Count


Hit Counts

When you apply a hit count to a breakpoint, the breakpoint suspends program execution when the specified Hit Count condition is satisfied. You can apply a hit count to line breakpoints, method breakpoints, and watchpoints.

Following are the valid Hit Count conditions:

Break always

Stops program execution each time the Diagram Trace Utility encounters the breakpoint.

Break when the hit count is equal to <value>

Stops program execution when the Diagram Trace Utility encounters the breakpoint the number of times you specified in the Hit Count field.

Break when the hit count is a multiple of <value>

Stops program execution when the Diagram Trace Utility encounters a breakpoint a multiple of the number of times you specified in the Hit Count field.

Break when the hit count is greater than or equal to <value>

Stops program execution when the Diagram Trace Utility encounters the breakpoint a number of times equal to or greater than the number of times you specified in the Hit Count field.

The Current Hit Count control displays the current Hit Count value. To reset this value, click Reset Hit Count.