View Issue Details

IDProjectCategoryView StatusLast Update
0000719XdebugUncategorizedpublic2011-09-25 22:27
Reporterthaddeusmt Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Platform64bitOSWindowsOS VersionWindows 7 64
Product Version2.1.0 
Summary0000719: Private variables not showing in object inspections
Description

I am using the Yii PHP framework. When doing step-debugging, I cannot see private variables in class objects.

I think this is the same bag as this?
http://bugs.xdebug.org/view.php?id=619

Also discussed here:
http://youtrack.jetbrains.net/issue/WI-5644

I swear it was fixed, but maybe that was just on Ubuntu. I'm on a Win7 box now, running WAMPserver 64. It still happens.

Thanks for all the hard work on xdebug!!

Steps To Reproduce

Windows 7 64
WampServer 2.1d (64 bits)
-Apache 2.2.17
-Php 5.3.4 (VC9 ts 64bit)
PhpStorm 2.1.4

=============================================================
abstract class P {
private $private_prop = 'private'; // does NOT show up
protected $protected_prop = 'protected'; // Shows
public $public_prop = 'public'; // Shows
protected function test() {}

}

class C extends P {
public function __construct() {} // Set "break point" here
}

$c = new C();

============================

Additional Information

; XDEBUG EXTENSION
zend_extension = "c:/wamp/bin/php/php5.3.4/zend_ext/php_xdebug-2.1.2-5.3-vc9-x86_64.dll"

[xdebug]
xdebug.remote_enable = On
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.collect_params=3
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.remote_log="c:/wamp/logs/xdebug.log"
xdebug.collect_vars = On

TagsNo tags attached.
Operating SystemWindows 7 64bit
PHP Version5.3.4

Activities

thaddeusmt

2011-09-23 21:00

reporter   ~0001805

Using Xdebug 2.1.2 on Linux (Ubuntu 11.04 64) also does not show inherited/parent private variables of objects.

xdebug

xdebug support enabled
Version 2.1.2

Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $

Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_assignments Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars On On
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.file_link_format no value no value
xdebug.idekey no value no value
xdebug.manual_url http://www.php.net http://www.php.net
xdebug.max_nesting_level 100 100
xdebug.overload_var_dump On On
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir /tmp /tmp
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
xdebug.remote_autostart Off Off
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.scream Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir /tmp /tmp
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3

derick

2011-09-25 22:27

administrator   ~0001808

I just tested this again, and it works just fine. However, you need a version after 2.1.2; I had noted down the wrong version in bug report 0000619.

Issue History

Date Modified Username Field Change
2011-09-20 16:44 thaddeusmt New Issue
2011-09-23 21:00 thaddeusmt Note Added: 0001805
2011-09-25 22:27 derick Note Added: 0001808
2011-09-25 22:27 derick Assigned To => derick
2011-09-25 22:27 derick Status new => feedback
2011-09-25 22:27 derick Status feedback => resolved
2011-09-25 22:27 derick Resolution open => no change required
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized