View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001410 | Xdebug | Stacktraces | public | 2017-03-28 11:16 | 2021-04-14 16:09 |
| Reporter | chrBrd | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| OS | Linux | OS Version | 4.8.0-44-generic | ||
| Product Version | 2.5.1 | ||||
| Summary | 0001410: Debug session does not end if breakpoints are set in __debugInfo() magic methods or any methods called by them. | ||||
| Description | XDebug generally works well for debugging stacks called by a __debugInfo magic method, but once the method has completed execution the debug dession will remain open until the process is stopped manually. | ||||
| Steps To Reproduce | Run the attached script with breakpoints on lines 13 and 26. | ||||
| Additional Information | Affects all methods with breakpoints in a stack called by debugInfo(). It does not matter whether debugInfo() returns a value or not. | ||||
| Tags | No tags attached. | ||||
| Operating System | Linux 4.8.0-44-generic; Client - Mint Serena , Host - Debian Jessie | ||||
| PHP Version | 7.0.15-7.0.19 | ||||
|
|
Hi! Thanks for the report. I have two questions:
cheers, |
|
|
IDE is PHPStorm. I've been trying to grab a log for you - my current setup uses a Docker container (should maybe have mentioned that in the report, sorry) based on the PHP:7.0-Apache image from the Docker repos and for whatever reason I can't get XDebug to output a log file anywhere. Permissions are definitely correct, I enabled the Profiler to test and it's outputting to the desired directory without issue. I'll try it out on proper test server later this evening to try and replicate the problem and get you a proper log. |
|
|
Okay, I've uploaded a log file from a test server. XDebug version is 2.5.0, PHP Version 7.0.14-1~dotdeb+8.1, Host OS is Debian 8 with kernel 3.16.0-4-amd64. I've added a line to the log file to indicate where I had to stop the process manually. |
|
|
Is this issue still relevant to you? |
|
|
Closing this, as it is missing requested feedback. |