Breakpoint Hit Count

Select the Hit Count option to define a hit count for the selected breakpoint.

The Hit Count option is used to determine when your program should suspend on that breakpoint.

If a breakpoint has a hit count of N, execution will suspend when the breakpoint is encountered for the Nth time. After being hit, the breakpoint is disabled until either it is re-enabled or its hit count is changed.

This option can be changed in the Breakpoints View detail pane, with the Breakpoint Properties..., or by right-clicking a breakpoint.

Breakpoint hit count option

 

Related concepts

Breakpoints

Related tasks

Adding breakpoints
Removing breakpoints
Launching a Java program
Running and debugging

Related reference

Enabled Option
Suspend Policy