View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002087 | Xdebug | Step Debugging | public | 2022-04-27 14:59 | 2022-12-08 18:50 |
Reporter | derick | Assigned To | derick | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 3.2dev | Fixed in Version | 3.2.0 | ||
Summary | 0002087: Introduce step for the return state and virtual property for return value | ||||
Description | This extra step should only trigger if the return value is actually set preferably, or otherwise only if it is not NULL. This extra step should only occur if the | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.0.10-8.0.19 | ||||
|
|
|
I just tested this with VS Code and it seems to be working well. However, I wonder if it would be useful to be able to see the return value even when you manually Step Over a function call - the use case being that perhaps you don't really want/need to actually visit/inspect the function, but would like to inspect the $__RETURN_VALUE prior to carrying on with the code. This surely should not be the default behaviour, but perhaps something that could be set manually? Or, perhaps even better, perhaps there's some way to trigger something like "Step Over and Show Return Value" so that you can generally Step Over normally, but also add the extra step to view the Return Value when desired? If this is too difficult or otherwise not feasible, that's fine. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-04-27 14:59 | derick | New Issue | |
2022-05-04 15:52 | derick | Description Updated | |
2022-05-04 15:54 | derick | Summary | Add extra debug step when function exits to be able to show the return value => Introduce step for the return state and virtual property for return value |
2022-05-04 15:56 | derick | Note Added: 0006290 | |
2022-06-06 15:18 | derick | Assigned To | => derick |
2022-06-06 15:18 | derick | Status | new => closed |
2022-06-06 15:18 | derick | Resolution | open => fixed |
2022-06-06 15:18 | derick | Fixed in Version | => 3.2dev |
2022-07-20 15:49 | derick | Fixed in Version | 3.2dev => 3.2.0alpha1 |
2022-08-25 18:16 | nickc | Note Added: 0006366 | |
2022-12-08 18:50 | derick | Fixed in Version | 3.2.0alpha1 => 3.2.0 |