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 | derick | ||
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... |
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-03 07:35 | barel | New Issue | |
2022-11-03 09:41 | derick | Assigned To | => derick |
2022-11-03 09:41 | derick | Status | new => resolved |
2022-11-03 09:41 | derick | Resolution | open => no change required |
2022-11-03 09:41 | derick | Note Added: 0006435 | |
2022-11-03 09:43 | derick | Status | resolved => acknowledged |
2022-11-03 09:43 | derick | Note Added: 0006436 | |
2022-11-08 18:18 | derick | Status | acknowledged => closed |
2022-11-08 18:18 | derick | Fixed in Version | => 3.2dev |
2022-11-08 18:18 | derick | Note Added: 0006443 | |
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 |