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. |