Bug 203264 - Clicking the glyph of a disabled breakpoint should enable the breakpoint
Clicking the glyph of a disabled breakpoint should enable the breakpoint
Status: NEW
Product: debugger
Classification: Unclassified
Component: Java
-S1S-
PC Other
: P3 with 1 vote (vote)
: TBD
Assigned To: Martin Entlicher
issues@debugger
: USABILITY
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-06 22:08 UTC by 280Z28
Modified: 2013-08-12 20:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo