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 130873

Summary: Similar items in the BP annotation context menu
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: _ gordonp <gordonp>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 127758    
Bug Blocks:    

Description Alexander Pepin 2008-03-23 18:18:46 UTC
Steps to reproduce:
- create Welcome sample project
- open welcome.cc in the editor
- cteate a line BP
- right-click on the BP annotation to call a context menu then select "Breakpoint" submenu
Result: Breakpoint submenu contains the following items:
- Enabled
- GDB Breakpoint Enabled
- Customize
- Customize GDB Breakpoint
It seems that there are two groups of items Enabled and Customize but for GDB only items with "Gdb Breakpoints"
prefix/postfix are used. Other two items (Enabled and Customize) are disabled. IMO it looks a bit artificially.
Comment 1 _ gordonp 2008-03-24 15:41:02 UTC
The debuggercore APIs didn't allow for the Enabled and Customized menu items
to be shared. My choice was to have 1 set of E/C menu items for each debugger
or to add some text which makes it clear which one refers to a gdb breakpoint.
I chose the latter.

Concurrently, I filed a debuggercore defect requesting an API which would let
these menu items be shared (IZ 127758). This issue requires an API change in
NetBeans and is currently undergoing review. If the API change is approved for
NB 6.1, and if there is enough time, I'll be able to apply the API change and
resolve this issue. If not, it will get fixed after FCS.
Comment 2 _ gordonp 2008-03-28 00:49:32 UTC
As I said, this was a debuggercore problem and has been resolved.

*** This issue has been marked as a duplicate of 131135 ***