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 136882 - false booleans are shown as nil
Summary: false booleans are shown as nil
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker with 1 vote (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 09:42 UTC by martijn_
Modified: 2010-04-21 14:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martijn_ 2008-06-10 09:42:19 UTC
False values in the debugger are shown as nil, reproduce:

 boo = true     # in debugger=> true
 boo = nil      # in debugger=> nil
 boo = false    # in debugger=> nil  => WRONG
 boo = 1 ==0    # in debugger=> nil  => WRONG

using netbeans dev 200806040005

tnx for fixing! 

Martijn
Comment 1 Martin Krauskopf 2008-06-16 13:55:47 UTC
Thanks again. Reproduced, will investigate.
Comment 2 richo 2009-01-29 21:06:21 UTC
I noticed this is a P3, but unless there is a usable workaround I would prefer to see this bumped to a P2. This could
seriously be confusing when debugging and lead to a lot of wasted time.
Comment 3 Erno Mononen 2010-04-21 14:22:38 UTC
This was a problem in the backend, more specfically in ruby-debug-ide. I fixed it there in Revision 652, so the fix will be included in the next ruby-debug-ide release (0.4.11 - will release at lates in 2-3 weeks before 6.9 Beta).