View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001104 | Xdebug | Uncategorized | public | 2015-02-10 07:51 | 2015-02-22 14:29 |
Reporter | xardas | Assigned To | derick | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.04 LTS |
Product Version | 2.2.3 | ||||
Fixed in Version | 2.3.0 | ||||
Summary | 0001104: "Notice: Corrupt member variable name" on 1-character static property | ||||
Description | While using xdebug 2.2.3, PHP 5.4.24 and PhpStorm 8.0.2 (versions probably does not matter). I was able to reproduce a problem. It seems, that xdebug deletes such properties, or cannot parse them. In "Variables" window we are able to see an empty property name instead of one-symbol. | ||||
Steps To Reproduce |
| ||||
Additional Information | It seems, that there is no difference in property naming, it can be any symbol, like "s", "d", or whatever. It just required to be only one symbol. Also it is crucial for property to be static. If property is not static, then problem won't reproduce itself. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Ubuntu | ||||
PHP Version | 5.4.20-5.4.24 | ||||
|
I tried reproducing this, but it works just fine. Could you please try with the latest Xdebug version (2.2.7 is out!). And if that still causes problems, make a remote log file for a debugging session with that simple DemoClass from your report? You can make one by setting xdebug.remote_log=/tmp/xdebug.log - this will list all communications between IDE and Xdebug. |
|
I have updated xdebug to 2.2.7, and problem still repeats itself. I was able to find out, that static property should be with "protected" access modifier for it's name to disappear in Variables section of the debugger, and for notice to appear. |
|
Okay. I can reproduce this issue now. |
|
Fixed for 2.2.8 and 2.3dev. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-02-10 07:51 | xardas | New Issue | |
2015-02-10 07:51 | xardas | File Added: Selection_038.png | |
2015-02-10 09:59 | derick | Note Added: 0002982 | |
2015-02-10 09:59 | derick | Assigned To | => derick |
2015-02-10 09:59 | derick | Status | new => feedback |
2015-02-10 11:04 | xardas | Note Added: 0002983 | |
2015-02-10 11:04 | xardas | Status | feedback => assigned |
2015-02-10 11:11 | derick | Note Added: 0002984 | |
2015-02-10 22:48 | derick | Note Added: 0002985 | |
2015-02-10 22:48 | derick | Status | assigned => closed |
2015-02-10 22:48 | derick | Resolution | open => fixed |
2015-02-10 22:48 | derick | Fixed in Version | => 2.2.8 |
2015-02-22 14:29 | derick | Fixed in Version | 2.2.8 => 2.3.0 |
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 |