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 122349

Summary: Global scope variables not shown in Local Variables
Product: ruby Reporter: tfee <tfee>
Component: DebuggerAssignee: Erno Mononen <emononen>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description tfee 2007-11-20 05:47:41 UTC
Global scope variables without $-sign don't show up in the Local Variables window.

Repro:
In a Rails 1.2.x app, set a breakpoint on
  unless defined?(RAILS_ROOT)
in file config/boot.rb.
On the first break, single-step past
  root_path = File.join(File.dirname(__FILE__), '..')
The root_path will not be in the Local Variables window.
Comment 1 Martin Krauskopf 2007-11-20 08:45:49 UTC
Will try to find the culprit until 6.1 as we talked about personally. So far only reproducible in Rails under specific
circumstances described here. If you would also reproduce this on some simple case, let me know, thanks.
Comment 2 Quality Engineering 2009-12-21 06:45:55 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team