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

Summary: false booleans are shown as nil
Product: ruby Reporter: martijn_ <martijn_>
Component: DebuggerAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: blocker CC: richo
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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).