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 20945 - Add "Enable"/"Disable" to breakpoint popup menu
Summary: Add "Enable"/"Disable" to breakpoint popup menu
Status: CLOSED DUPLICATE of bug 56602
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-27 14:46 UTC by sreed
Modified: 2008-04-15 18:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sreed 2002-02-27 14:46:55 UTC
Enabling and disabling breakpoints is a powerful tool that should be made as 
easy to use as possible. As it is, having to select the breakpoint and then 
click to select the Enabled property and click to open the drop down menu to 
select the Enabled state desired is not user-firendly. It would be a great 
improvement to be able to right-click on a breakpoint in the breakpoints window 
and select Enable or Disable to toggle the state of the breakpoint.
Comment 1 Marek Grummich 2002-07-22 09:08:00 UTC
Target milestone was changed from '3.4' to TBD.
Comment 2 Marek Grummich 2002-07-22 09:15:43 UTC
Target milestone was changed from '3.4' to TBD.
Comment 3 tomzi 2004-03-18 09:15:37 UTC
Isn't this already fixed in nb3.6?
Comment 4 Maros Sandor 2004-03-18 15:07:14 UTC
You are right.
Comment 5 sreed 2004-03-18 18:28:21 UTC
yes, it is in 3.6, in an awkward way. it's not in the primary popup 
but in a walking menu. you have to right click and then bring the 
mouse over the "bookmark" item in the three item popup which brings 
up a two(!) item walking menu where you can select either "next 
bookmark" or "toggle bookmark". once you select the "toggle bookmark" 
item in the walking menu, "toggle bookmark" appears in the primary 
popup. why not have "toggle bookmark" (and "next bookmark" for that 
matter) in the popup all the time?? There's only 3 items in the 
popup. why not add a couple more and make this feature really user 
friendly??
Comment 6 sreed 2004-03-18 21:12:23 UTC
I did not find anything to toggle the breakpoint enable/disable state 
in the popup menu. It only contains an item for boomarks. As far as I 
can tell this issue has not been resolved, at least in 3.6 RC1.
Comment 7 Maros Sandor 2004-03-19 09:22:43 UTC
These bookmarks you are talking about are something completely 
different. Breakpoints can be disabled/enabled with just a single 
click in the breakpoints view or in the property sheet. If you want 
this option to be available in the editor popup, I leave this RFE 
open.
Comment 8 tomzi 2004-03-19 10:10:36 UTC
I do understand Scotts initial thought (above): 

"It would be a great improvement to be able to right-click on a
breakpoint in the breakpoints window and select Enable or Disable to
toggle the state of the breakpoint"

During a larger debugging process you typically have up to 10 bp's set
(well, I have :) and even more, if you forget to delete some). If,
during a session, you find you currently do _not_ need some bp's for
the moment (which you normally find out while debugging) you would
have to search through the bp list to find the appropriate one. Since
there is no indicator in this list telling you which bp is reached you
need to find this out by the classpath and the line number (ok, look
up in the editor again, to see which line we are and back again). 
It would be far easier (from usablitiy p.o.v.) to access this
functionality by providing a similar menu than in 'bookmarks' :
     eg 'breakpoints'
          +-- enable/disable
          +-- toggle breakpoint
Comment 9 _ lcincura 2005-05-12 15:02:16 UTC
In current NB version a recently hit brekapoint is displayed bold, so finding it
in Breakpoints view is easy. To enable/disable brekapoint you can directly click
Enabled check box or invoke action from its context menu. This is enough user
friendly and I cannot imagine easier way how to do it.
Feel free to repoen and provide your suggestions.
Comment 10 sreed 2005-05-12 17:01:47 UTC
I apologize for muddling this issue up with that bookmarks confusion. 
However, I am asking for enable/disable breakpoint in the *source* view. As
Incincura (and others I beleive as well) says, it's already easy to do in
breakbpoint view. In the source view, the right click menu allows toggle
breakpoint but you cannot enable/disable a breakpoint. This powerful feature is
only accessible if you open the breakpoint view. Again, I am asking for an easy
way to enable/disable breakpoints in *source* view which I do not believe is
available yet.
Comment 11 Martin Entlicher 2005-05-18 13:24:17 UTC

*** This issue has been marked as a duplicate of 56602 ***
Comment 12 Petr Cyhelsky 2008-04-15 18:52:36 UTC
fixed