View Issue Details

IDProjectCategoryView StatusLast Update
0000616XdebugUncategorizedpublic2011-09-19 21:18
Reporterjagwire16 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version2.1.0 
Summary0000616: Only CLASSNAME showing for nested stdClass objects/arrays
Description

When viewing variable information in NetBeans while debugging, all but the CLASSNAME property is missing.

I did check the xdebug.log file and it appears that Xdebug isn't sending the additional properties (Id and CreatedDate) at all.

IDE: NetBeans 6.9

$users5 = array();
$users5['contacts'] = new stdClass();
$users5['contacts']->records = array();
$users5['contacts']->records[0] = new stdClass();
$users5['contacts']->records[0]->Id = 'blah';
$users5['contacts']->records[0]->CreatedDate = '2010-09-07T18:32:50.000Z';

The variable tree looks like this:

  • users5 (array)
    • [contacts] (stdClass)
    • CLASSNAME (string)
    • records (array)
      • [0] (stdClass)
      • CLASSNAME (string)

It should look like this:

  • users5 (array)
    • [contacts] (stdClass)
    • CLASSNAME (string)
    • records (array)
      • [0] (stdClass)
      • CLASSNAME (string)
      • Id (string)
      • CreatedDate (string)

As you can see, it is missing the Id and CreatedDate properties.

Additional Information

Below is from my php.ini file and I only included the settings which have been changed from their defaults.

xdebug.collect_params = 1
xdebug.dump.GET = ""
xdebug.dump.POST = ""
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "xdebug_profile.%p"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = 127.0.0.1
xdebug.remote_log = "c:/xampp/php/xdebug.log"
xdebug.remote_mode = "req"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.var_display_max_children = 4096
xdebug.var_display_max_data = 999999
xdebug.var_display_max_depth = 100

TagsNo tags attached.
Operating SystemWindows 7 Professional
PHP Version5.3.3

Activities

derick

2011-08-13 18:09

administrator   ~0001782

Could you please make a remote_log, as is described here:

http://xdebug.org/support.php#remote

And attach that to this report please?

derick

2011-09-19 21:18

administrator   ~0001803

Can't reproduce, and requested feedback not provided. If, in the future, you can provide feedback, please don't hesitate to do so.