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 - Clicking the glyph of a disabled breakpoint should enable the breakpoint
Summary: Clicking the glyph of a disabled breakpoint should enable the breakpoint
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: -S1S-
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2011-10-06 22:08 UTC by 280Z28
Modified: 2013-08-12 20:20 UTC (History)
1 user (show)

See Also:
Exception Reporter:


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)