View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000619 | Xdebug | Uncategorized | public | 2010-09-23 01:21 | 2011-09-25 22:27 |
| Reporter | jasonwyz98 | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 10.04 |
| Product Version | 2.1.0 | ||||
| Summary | 0000619: Xdebug does NOT show "private" properties defined in parent classes | ||||
| Description | Xdebug does NOT show "private" properties defined in parent class when "break point" is set in child class. IDE: PhpStorm "http://www.jetbrains.com/phpstorm/" [^] PHP: PHP 5.3.3 by dotdeb.org Xdebug Config: zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so" Thanks | ||||
| Steps To Reproduce | namespace Tests; abstract class P {
} class C extends P {
} $c = new C(); | ||||
| Tags | private properties | ||||
| Operating System | Ubuntu 10.04 | ||||
| PHP Version | 5.3.3 | ||||
|
|
I can confirm this bug. Running PHP Version 5.2.10-2ubuntu6 on ubuntu 10.04 with Xdebug v2.1.0 (non thread safe). Private variables of parent class are not output in Eclipse (helios) during a remote debug session. Public variables are shown as expected. The previous version of xdebug I was using worked fine - wish I could remember what version that was an roll back! Thanks |
|
|
just noticed this "closed" bug, probably related: |
|
|
So, this may actually work like it's supposed to but I didn't know how to set it up. If you set this setting in your php.ini you will get the parent variables (I think): collect_vars = On |
|
|
Related issue from PhpStorm issue tracker: |
|
|
Fixed for 2.1.2 and 2.2. |
|
|
I meant 2.1.3 and 2.2-dev. |