View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001155 | Xdebug | Step Debugging | public | 2015-05-28 17:01 | 2023-11-30 14:50 |
| Reporter | FlyLo | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | PHP 5.6.3 | OS | Windows 7 64bit | ||
| Product Version | 2.3.2 | ||||
| Target Version | 3.3dev | Fixed in Version | 3.3.0 | ||
| Summary | 0001155: Local variables are not shown when execution break in error_handler | ||||
| Description | Hello, I have tested this only with PHPstorm as the client. With the attached sample code, when breaking the execution inside the error_handler, there are no local variables available for inspection inside the method that triggered the PHP notice/warning. In this case variable $a from method Test->a() is not displayed in any stackframe. | ||||
| Steps To Reproduce | Please check the screenshot attached. The breakpoint was set on line 4. | ||||
| Additional Information | Variable $a should be available for inspection | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows 7 64bit | ||||
| PHP Version | 5.6.0-5.6.4 | ||||
|
|
I can confirm this - no clue as to why yet though. As a note to myself, I am using the following DBGP commands: step_into -i 1 |
|
|
Ok, thanks for confirming it. I wasn't sure if it was from XDebug itself or some PHPstorm bug or misconfiguration. I would be happy to help as much as I can, although not sure how, except by testing it further whenever is necessary. And thank you for this awesome tool. |
|
|
Is this issue still relevant to you? |
|
|
Tested with php 8.0.3 NTS + xdebug 3.0.3, and the issue is still here. And thank you for an awesome tool! |
|
|
I had another look at this, but it's still not obvious, so I am moving this to 3.3dev again. |
|
|
This got fixed somewhere along the line between Xdebug 3.2.0 and 3.3.0alpha1, so I am closing this. |