Provides one of the most important features of any debugger, the breakpoints. Breakpoints are defined by the user and tell the debuggee where and when to suspend execution of the debuggee.

The BreakpointManager implementations are accessed via the BreakpointProvider static class. To provide custom implementations of BreakpointManager, you must install your implementation as a "service". See the NetBeans OpenAPIs documentation under "Services & Lookup" to learn how this is done.

Similarly, instances of BreakpointFactory are acquired via the BreakpointProvider static class. To provide custom implementations of BreakpointFactory, you must install your implementation as a "service".

How Breakpoints Work

Breakpoint Groups

Breakpoint groups are collections of breakpoints, as well as other breakpoint groups. They can be modified as a whole, which allows enabling and disabling an entire set of breakpoints at once.

Breakpoints

Breakpoints are those objects that cause execution to suspend in the debuggee. There are various types of breakpoints, from method and line breakpoints, to class, variable, and thread breakpoints.

How a breakpoint is set

How breakpoints are resolved

What happens when an event occurs

How breakpoints are persisted