View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002314 | Xdebug | Step Debugging | public | 2025-01-18 22:22 | 2025-01-22 16:03 |
Reporter | Benedetti | Assigned To | derick | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.4.1 | ||||
Target Version | 3.4dev | Fixed in Version | 3.4dev | ||
Summary | 0002314: Class properties with hooks are always shown as null | ||||
Description | I found that properties with hooks (php 8.4 addition) are always shown in the debugger variables view as null, but when accessed directly by a watch they are resolved correctly as they appear on the output. It caused me a great confusion until I tracked it down to a debugger bug and not a bug in my code. I am not sure if it is a bug in Xdebug or PHPStorm or both. What happens: | ||||
Steps To Reproduce |
| ||||
Additional Information | PHP version 8.4.3 (https://hub.docker.com/layers/library/php/8.4.3-fpm-alpine3.21/images/sha256-cef6cb6186568e77f638fef22c81696ece0f2458fba32ab42c7a1bb3bb5afc6b) | ||||
Tags | breakpoint, php8.4, PHPStorm | ||||
Attached Files | |||||
Operating System | windows 10 with php running in docker under wsl2 | ||||
PHP Version | 8.3.5-8.3.9 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-18 22:22 | Benedetti | New Issue | |
2025-01-18 22:22 | Benedetti | Tag Attached: breakpoint | |
2025-01-18 22:22 | Benedetti | Tag Attached: php8.4 | |
2025-01-18 22:22 | Benedetti | Tag Attached: PHPStorm | |
2025-01-18 22:22 | Benedetti | File Added: Recording 2025-01-18 at 22.57.33.gif | |
2025-01-21 10:13 | derick | Steps to Reproduce Updated | |
2025-01-21 10:45 | derick | Assigned To | => derick |
2025-01-21 10:45 | derick | Status | new => confirmed |
2025-01-21 10:46 | derick | Target Version | => 3.4dev |
2025-01-21 10:46 | derick | Note Added: 0007162 | |
2025-01-22 16:03 | derick | Status | confirmed => resolved |
2025-01-22 16:03 | derick | Resolution | open => fixed |
2025-01-22 16:03 | derick | Fixed in Version | => 3.4dev |
2025-01-22 16:03 | derick | Note Added: 0007163 |