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.
This is problem for some debugger plug-ins. Method: CoreBreakpoint.Event.remove ().
We should find some quick fix for nb3.5.x branch and separate issue should be created for long term solution in nb 4.0.
I was thinking about this issue, and I see two solutions: 1) I can implement some (not a big) redesign of debugger APIs. And create two separate methods in Breakpoint.Event for disable and remove. 2) We can use current solution with one method, and do some state testing in method implementation. I strongly prefer the solution 2). Redesign can be dangerows/ buggy. So, how to do it. for "remove" stuff - just implement the code in Event.dispose method(). This method is called when breakpoint is removed (=deleted) only. and for "disable" code use this: DBXBreakpointEvent.remove () { if (!getBreakpoint ().isEnabled ()) { // put "disable" handler code here } } Is it good solution for you? (feel free to reopen this issue, if it is not)
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.