View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002126 | Xdebug | Step Debugging | public | 2022-10-13 09:00 | 2022-12-08 18:51 |
Reporter | daniel.siepmann | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64-linux | OS | Ubuntu | OS Version | 20.04.5 LTS |
Product Version | 3.1.5 | ||||
Target Version | 3.2dev | Fixed in Version | 3.2.0 | ||
Summary | 0002126: Problems with retrieving global variables | ||||
Description | It is currently not possible to get information about global variables. I've tried with vdebug (within vim) and dgbpClient from xdebug.org. Accessing a globals variable will result in Error(300): can not get property. It might be an issue with some configuration on my end, but I couldn't find anything related on xdebug.org | ||||
Steps To Reproduce | Start steb debugging using dbgpClient. | ||||
Tags | No tags attached. | ||||
Operating System | Ubuntu 20.04.5 LTS | ||||
PHP Version | 7.3.30-7.3.39 | ||||
|
Possible workaround is to import the variable for debugging reasons, e.g.: global $MY_OBJ; Xdebug then can fetch info of this local variable. |
|
I can confirm this, and will need to investigate. It might not be possible in PHP 8.1+ though, as it changes the way how GLOBALS are handled. |
|
As an additional note, a fix for this would only go into Xdebug 3.2.x, which will be PHP 8 only. |
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-13 09:00 | daniel.siepmann | New Issue | |
2022-10-13 09:07 | daniel.siepmann | Note Added: 0006397 | |
2022-10-13 10:37 | derick | Assigned To | => derick |
2022-10-13 10:37 | derick | Status | new => confirmed |
2022-10-13 10:37 | derick | Note Added: 0006398 | |
2022-10-13 10:37 | derick | Note Added: 0006399 | |
2022-10-14 16:50 | derick | Status | confirmed => assigned |
2022-10-14 16:50 | derick | Note Added: 0006401 | |
2022-10-14 16:50 | derick | Target Version | => 3.2dev |
2022-11-02 10:40 | derick | Status | assigned => closed |
2022-11-02 10:40 | derick | Resolution | open => fixed |
2022-11-02 10:40 | derick | Fixed in Version | => 3.2dev |
2022-11-02 10:40 | derick | Summary | Error(300): can not get property for $GLOBALS => Problems with retrieving global variables |
2022-11-10 09:50 | derick | Fixed in Version | 3.2dev => 3.2.0RC2 |
2022-12-08 18:51 | derick | Fixed in Version | 3.2.0RC2 => 3.2.0 |