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 173641 - [68cat] [debugger] Unable to view @ variables in Variable or Watch window
Summary: [68cat] [debugger] Unable to view @ variables in Variable or Watch window
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 17:39 UTC by esmithbss
Modified: 2011-01-28 20:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test Project (3.60 KB, application/x-compressed)
2009-10-02 17:40 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-10-02 17:39:30 UTC
[ BUILD # : 200910010513 ]
[ JDK VERSION : 1.5.* ]

I just downloaded the Ruby only (Zipped) version and installed. 
Created a new Ruby (JRuby 1.3.1) project and started debugging it.

In my main file I create a variable called @property_file_name.  When
I run the program, I can see the @property_file_name variable and if
I mouse over it, I get the content of the variable.

When I open the Variables window, @property_file_name is not
available.

When I create a watch on @property_file_name, the watch is created,
but the value is empty and the value display form pops up with a
grayed out color.
Comment 1 esmithbss 2009-10-02 17:40:00 UTC
Created attachment 88758 [details]
Test Project
Comment 2 esmithbss 2009-10-02 17:41:26 UTC
Project attached.

Place breakpoint on YAML::load line and you will not see the @property_file_name variable.
Comment 3 esmithbss 2009-10-02 17:53:37 UTC
Make sure any existing watches are deleted when running the test project to confirm the results.
Comment 4 Erno Mononen 2010-04-20 11:22:45 UTC
Thanks for the test project, I'll try to take a look at this before 6.9.