View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002390 | Xdebug | Uncategorized | public | 2025-11-26 10:36 | 2025-11-26 10:36 |
| Reporter | frozenbrain | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 3.4.7 | ||||
| Summary | 0002390: Exception not caught when iterating over a Generator variable with try-finally | ||||
| Description | We've noticed unit tests failing after updating to PHP 8.4.15 because an exception was no longer caught when it should have been. I was unable to reproduce the issue with PHP 8.4.14 or with XDebug disabled which leads me to believe that this is a bug in XDebug. | ||||
| Steps To Reproduce | Run the following script with XDebug enabled (
Expected result: The script should output One thing I noticed while debugging is that the stack trace changes after stepping over the | ||||
| Additional Information | Tested with PHP running in Docker 29.0.2. | ||||
| Tags | No tags attached. | ||||
| Operating System | Fedora 42 | ||||
| PHP Version | 8.4.10-8.4.19 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-26 10:36 | frozenbrain | New Issue |