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 115585

Summary: Go To Source from Local Variables does not work
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: Maria Tishkova <mromashova>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Alexander Pepin 2007-09-14 16:40:00 UTC
Steps to reproduce:
- create Welcome sample project
- do step into
- open Local Variables
- right-click on "argv", a context menu contains only one item "List Options" and does not contain "Go To Source", this
is a BUG
- expand "argv" local variable
- right on "argv[0]", a context menu now contains two items, that's OK
- select "Go To Source"
Result: Focus switches to the editor window to the current position (cout<<"Welcome ...\n";). It's unclear how it
connected to argv[0] and what's the use of just switching the focus to editor. Also please see above (Why argv and argc
do not have such items in their context menus).
Comment 1 Alexander Pepin 2007-09-17 12:47:23 UTC
*** Issue 103584 has been marked as a duplicate of this issue. ***
Comment 2 Alexander Pepin 2007-09-17 12:49:24 UTC
Gordon's comment from IZ 103584: Gdb doesn't have this information. I need to see if code-assistance can provide it. 
Comment 3 Alexander Pepin 2007-11-27 13:06:36 UTC
I would propose to remove this item from the LV node context menu until it becomes clear if it's possible or not to
implement a such feature.
Comment 4 Alexander Pepin 2008-02-05 13:31:50 UTC
In fact it's not a P2, the missed functionality is not crucial and it's implementation needs additional support from
code model that obviously will not be provided in 6.1. So I downgrade it to P3 but at the same time I still suggest
excluding "Go to Source" item from the context menu in 6.1 and then transforming this defect to enhancement. 
Comment 5 Egor Ushakov 2008-02-26 17:57:42 UTC
item is removed from the menu as suggested,
changeset is:
http://hg.netbeans.org/main/rev/ce1a55b35bb6
issue is transformed into enhancement
Comment 6 _ gordonp 2008-03-14 17:01:27 UTC
Changing target milestone to future. This isn't going to be done in 6.1.