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 203264

Summary: Clicking the glyph of a disabled breakpoint should enable the breakpoint
Product: debugger Reporter: 280Z28
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3 Keywords: USABILITY
Version: -S1S-   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description 280Z28 2011-10-06 22:08:18 UTC
Currently clicking on a disabled breakpoint in the margin removes that breakpoint. It seems more intuitive to click the breakpoint to enable it. This is especially the case since a programmer is more likely to temporarily disable a conditional breakpoint for performance reasons, and accidentally removing the breakpoint results in a great deal of additional work to make sure the same condition gets entered.
Comment 1 Martin Entlicher 2011-10-17 09:54:57 UTC
This can be taken as an enhancement to do something in this regard.
Currently the click is used to toggle the breakpoint (add and remove). Thus it's symmetrical. Allowing to enable the disabled breakpoint by click as well could bring confusion into what the click does IMHO.
Comment 2 280Z28 2011-10-17 13:49:33 UTC
From the debugger's perspective, a disabled breakpoint and a missing breakpoint are equivalent. This makes the current behavior not symmetric - clicking on one binds the breakpoint, but clicking on the other leaves the breakpoint unbound and instead deletes (without any undo available) any work you performed configuring the breakpoint.
Comment 3 markiewb 2013-08-12 20:20:35 UTC
How about supporting ALT-Click on the icon? This will toggle the breakpoint status from enabled to disabled and viceversa. (Seen in IDEA)