This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242800

Summary: No API for Deactivate all breakpoints feature in the Debugger Core
Product: debugger Reporter: henk89
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal CC: issues
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 242617, 251671    
Attachments: Suggested API
The proposed API for breakpoints activation/deactivation
An implementation and usage of the proposed APIs.

Description henk89 2014-03-11 15:47:34 UTC
There is no API to reuse the infrastructure.
Comment 1 Martin Entlicher 2015-04-10 20:48:12 UTC
Created attachment 153132 [details]
Suggested API

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.
Then JavaScript client debugger and Java debugger will be the first implementors of EngineBreakpointsProvider.
Comment 2 Martin Entlicher 2015-04-22 12:57:11 UTC
Created attachment 153299 [details]
The proposed API for breakpoints activation/deactivation

I've simplified the original proposal. Please review these APIs.
Comment 3 Martin Entlicher 2015-04-22 12:57:54 UTC
Created attachment 153300 [details]
An implementation and usage of the proposed APIs.
Comment 4 Martin Entlicher 2015-04-22 12:58:54 UTC
Please review the suggested API change.
Comment 5 Martin Entlicher 2015-04-28 12:43:47 UTC
If there are no objections, I'd push the new APIs and associated implementation tomorrow.
Comment 6 Martin Entlicher 2015-04-30 11:48:42 UTC
Pushed as changeset:   287398:89888cd0d9e9
http://hg.netbeans.org/core-main/rev/89888cd0d9e9
Comment 7 Quality Engineering 2015-05-02 07:17:51 UTC
Integrated into 'main-silver', will be available in build *201505020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/89888cd0d9e9
User: mentlicher@netbeans.org
Log: #242800: API for breakpoints deactivation.