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.
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.
Target milestone was changed from '3.4' to TBD.
Isn't this already fixed in nb3.6?
You are right.
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??
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.
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.
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
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.
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.
*** This issue has been marked as a duplicate of 56602 ***
fixed