View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000376 | Xdebug | Uncategorized | public | 2008-06-11 14:09 | 2009-08-06 10:38 |
| Reporter | cboisard | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000376: Fail context for local variable | ||||
| Description | Command "context_get -i 12 -d 0" return fail result for local variable. Alway type="uninitialized" | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.3-dev | ||||
| has duplicate | 0000459 | resolved | derick | Fail to retrieve context for local variable |
| has duplicate | 0000460 | resolved | derick | GUI clients always show "uninitialized" for local-scope variables. |
| has duplicate | 0000461 | resolved | derick | xdebug 2.0.5 with php 5.3 - context_get for function variables always appear as "unitialized" - Linux |
| has duplicate | 0000498 | resolved | derick | Backport fix for 0000376: Fail context for local variable to stable xdebug |
|
|
In my case happen only when depth > 1. php code: class child {
} class father {
} $foo = "asdasd"; $obj = new father(); $obj->create(); Put a breakpoint inside father->create, xdebug return only $this variable. php 5.3 cvs (20080617) |
|
|
I am aware of this, there are some issues with recent optimization patches in PHP 5.3. There is a workaround, but that seems to crash things. I didn't have time to investigate yet. |
|
|
Tried with 5.3.0beta1 today and it still doesn't work. I'd consider 5.3 stable enough now to fix this. ;) Please! |
|
|
I have started on fixing this, but didn't manage to finish. Soon :-) |
|
|
Wohoo! Looking forward to seeing this fixed! |
|
|
This is a pretty serious blocker for using xdebug with php 5.3. |
|
|
This should be fixed in 2.0.5 already, it was committed in May. |
|
|
My mistake, this is only in HEAD (2.1-dev) and not in 2.0.5. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2008-06-11 14:09 | cboisard | New Issue | |
| 2008-06-17 21:55 | incastrix | Note Added: 0000856 | |
| 2008-07-04 09:35 | derick | Note Added: 0000861 | |
| 2009-01-30 14:44 | k-fish | Note Added: 0000907 | |
| 2009-03-28 20:41 | derick | Note Added: 0000946 | |
| 2009-03-30 08:29 | k-fish | Note Added: 0000948 | |
| 2009-07-31 21:44 | toddw | Note Added: 0001011 | |
| 2009-08-01 16:51 | derick | Note Added: 0001012 | |
| 2009-08-01 16:51 | derick | Status | new => closed |
| 2009-08-01 16:51 | derick | Resolution | open => fixed |
| 2009-08-06 10:38 | derick | Note Added: 0001025 | |
| 2009-08-06 10:38 | derick | Relationship added | has duplicate 0000459 |
| 2009-08-06 10:39 | derick | Relationship added | has duplicate 0000460 |
| 2009-08-06 10:39 | derick | Relationship added | has duplicate 0000461 |
| 2009-12-22 00:42 | derick | Relationship added | has duplicate 0000498 |
| 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 |