There is no API to reuse the infrastructure.
Created attachment 153132 [details]
Please find the suggested APIs attached. If there are no objections, I'll provide a GUI action using EngineBreakpoints and activating/deactivating breakpoints in Debug main menu and in Breakpoints window.
Created attachment 153299 [details]
The proposed API for breakpoints activation/deactivation
I've simplified the original proposal. Please review these APIs.
Created attachment 153300 [details]
An implementation and usage of the proposed APIs.
Please review the suggested API change.
If there are no objections, I'd push the new APIs and associated implementation tomorrow.
Pushed as changeset: 287398:89888cd0d9e9
Integrated into 'main-silver', will be available in build *201505020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #242800: API for breakpoints deactivation.