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 168387 - Debugger not showing or showing incorrect variable values
Summary: Debugger not showing or showing incorrect variable values
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 10:05 UTC by ziadmannan
Modified: 2010-02-22 08:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
debugger variable values (180.70 KB, image/png)
2009-07-10 10:06 UTC, ziadmannan
Details
var_dump variable values (209.98 KB, image/png)
2009-07-10 10:07 UTC, ziadmannan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ziadmannan 2009-07-10 10:05:40 UTC
Local variables shown in the debugger differ from what is shown in a var_dump. In the debugger some variables are
missing and others are sometimes repeated several times. This tends to happen with arrays more. I have screenshots that
I've posted on the forum but there is no screenshot feature here.

Please see: http://forums.netbeans.org/viewtopic.php?p=41296

Thanks
Ziad
Comment 1 ziadmannan 2009-07-10 10:06:36 UTC
Created attachment 84581 [details]
debugger variable values
Comment 2 ziadmannan 2009-07-10 10:07:17 UTC
Created attachment 84582 [details]
var_dump variable values
Comment 3 ziadmannan 2009-07-10 10:08:35 UTC
managed to get those screenshots in
Comment 4 rmatous 2009-11-11 02:30:56 UTC
Pictures prove that NB doesn't show uninitialized  properties. 

Logging xdebug communication proves that uninitialized  properties are not included as a response to context_get. So, there is no way how to show these values.

I have tried other well known xdebug client and these values wasn't shown also and xdebug logging proved the same behavior as NB.

Keeping as reminder
Comment 5 ziadmannan 2009-11-11 03:16:44 UTC
I guess that makes sense. What about some variables being repeated?
Comment 6 rmatous 2009-11-11 03:24:30 UTC
I have overlooked repeated values, please let me know what I should focus on in those attached pictures
Comment 7 rmatous 2010-02-22 08:51:27 UTC
waiting for your feedback