View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002134 | Xdebug | Step Debugging | public | 2022-11-03 07:35 | 2022-12-08 18:51 |
| Reporter | barel | Assigned To | |||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| OS | Ubuntu | ||||
| Product Version | 3.1.5 | ||||
| Fixed in Version | 3.2.0 | ||||
| Summary | 0002134: Xdebug stops at the line where the exception is created, not where it is thrown | ||||
| Description | If you create an Exception object by using | ||||
| Steps To Reproduce | Run the test
I would expect to see this response:
as the line where the exception is thrown is line 15, not line 12 | ||||
| Additional Information | Have only tested it with PHP 7.4 but I expect this to happen in all supported PHP versions as the test is the same for all of them | ||||
| Tags | No tags attached. | ||||
| Operating System | Ubuntu | ||||
| PHP Version | 7.4.30-7.4.39 | ||||
|
|
This is the correct behaviour. The
Which also results in:
If you want to know the current execution location, you need to send the cheers, |
|
|
I might be changing my mind on this... |
|
|
|