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.
Real-case example (and good for testing a lot of things). 1) Open debug.rb in your Ruby installation (just with File -> Open File...) (in my case it resides in /usr/lib/ruby/1.8/debug.rb) 2) Go to Navigator (Ctrl-7) 3) Find first "max_thread" item and click it -> will take you to appropriate location where @max_thread is defined. 4) Go to Navigator (Ctrl-7) 5) Find second "max_thread" item. Gives you to usage of @max_thread in the anonymous class for DEBUGGER__ which is wrong.
Reassigning this issue to newly created 'ruby' component.
Confirmed. The difficulty is that Ruby fields aren't declared anywhere - they come into existence whenever they are first assigned. I usually track fields per class and only show the first assignment I encounter as the "declaration" in the navigator, but with anonymous innerclasses or even same file subclasses, this breaks down. Will attempt something for 6.0.
Still a problem in 6.7.