| Anonymous | Login | Signup for a new account | 2013-05-25 09:38 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000719 | Xdebug | Usage problems | public | 2011-09-20 17:44 | 2011-09-25 23:27 | |||
| Reporter | thaddeusmt | |||||||
| Assigned To | derick | |||||||
| Priority | normal | Severity | major | Reproducibility | always | |||
| Status | resolved | Resolution | no change required | |||||
| Platform | 64bit | OS | Windows | OS Version | Windows 7 64 | |||
| Product Version | 2.1.0 | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000719: 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 | |||||||
| Tags | No tags attached. | |||||||
| Operating System | Windows 7 64bit | |||||||
| PHP Version | 5.3.4 | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0001805) thaddeusmt (reporter) 2011-09-23 22:00 |
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 |
|
(0001808) derick (administrator) 2011-09-25 23:27 |
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 17:44 | thaddeusmt | New Issue | |
| 2011-09-23 22:00 | thaddeusmt | Note Added: 0001805 | |
| 2011-09-25 23:27 | derick | Note Added: 0001808 | |
| 2011-09-25 23:27 | derick | Assigned To | => derick |
| 2011-09-25 23:27 | derick | Status | new => feedback |
| 2011-09-25 23:27 | derick | Status | feedback => resolved |
| 2011-09-25 23:27 | derick | Resolution | open => no change required |
| Copyright © 2000 - 2011 MantisBT Group |