View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002066 | Xdebug | Step Debugging | public | 2022-02-21 18:36 | 2022-02-22 20:29 |
Reporter | arctgx | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.1.2 | ||||
Summary | 0002066: Broken response from evaluation any object of anonymous subclass | ||||
Description | Hi, I cannot use any response from evaluation (both from property_get and eval) any object of anonymous subclass. I started with the problem in nvim DAP client but I see that even dbgpClient cannot use it. | ||||
Steps To Reproduce | Please run dbgpClient -x on the test file <?xml version="1.0" encoding="iso-8859-1"?> (cmd) property_get -i 18 -d 0 -c 0 -n "$this" | ||||
Additional Information | I have prepared an environment https://github.com/przepompownia/dap-ui-test with nvim-dap and vscode-php-debug to show a similar example ( | ||||
Tags | anonymous | ||||
Operating System | Debian Sid | ||||
PHP Version | 8.1.0-8.1.4 | ||||
|
Hi, I can reproduce it, but it is not a bug. The DBGp protocol originally did not expect there to be NULL characters in class names, but PHP does use this. This situation can be handled to enable the ("extended_properties")[https://xdebug.org/docs/dbgp#extended-properties] feature. When enabling this with:
Valid XML is returned:
cheers, |
|
Hi Derick, thank you for explaining what is missing in this case. Maybe there is still something to do on the DAP adapter side - in both cases (enabled and disabled What do you think about displaying a short tip from By the way, the URL from |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-02-21 18:36 | arctgx | New Issue | |
2022-02-21 18:36 | arctgx | Tag Attached: anonymous | |
2022-02-22 18:06 | derick | Assigned To | => derick |
2022-02-22 18:06 | derick | Status | new => resolved |
2022-02-22 18:06 | derick | Resolution | open => no change required |
2022-02-22 18:06 | derick | Note Added: 0006213 | |
2022-02-22 18:06 | derick | Note Edited: 0006213 | |
2022-02-22 20:29 | arctgx | Note Added: 0006219 |