View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002055 | Xdebug | Step Debugging | public | 2021-12-22 20:14 | 2022-05-16 16:21 |
Reporter | laurin1 | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.1.2 | ||||
Target Version | 3.1dev | Fixed in Version | 3.1.3 | ||
Summary | 0002055: Debugger creates XML with double facet attribute | ||||
Description | I'm not sure if this is an Xdebug issue or PHPStorm issue (I'm not experienced with debugging using any other tools), I will be submitting the bug report to JetBrains as well. Step debugging using these 2 has worked great for years. However, I'm suddenly having issues with certain breakpoints not working. The IDE stops on the breakpoint briefly, like for half a second, then immediately proceeds through the rest of the code. The classes that seem to be affected are MySQL related, thought that might just be circumstantial. [22108] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="16" status="break" reason="ok"><xdebug:message filename="file:///C:/inetpub/Intranet_Local/library/Intranet/DB/MySQLiIntranet.php" lineno="222"></xdebug:message></response> [22108] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"></response> [22108] [Step Debug] WARN: 2021-12-22 20:13:32.087622: There was a problem sending 179 bytes on socket 608: An established connection was aborted by the software in your host machine. | ||||
Steps To Reproduce | Going to be very difficult to create steps to reproduce that are isolated as this is a huge project. | ||||
Additional Information | I have logs from both PHPStorm and Xdebug that can attach, but contain sensitive data (a lot of it, too hard to strip it all and be certain it's clean). | ||||
Tags | No tags attached. | ||||
Operating System | Windows 10 x64 21H1 | ||||
PHP Version | 7.4.20-7.4.29 | ||||
|
I've verified the issue occurs with 3.1.1 as well. |
|
C:\windows\system32>php -v |
|
Looks like it might be a PHPStorm issue: 2021-12-22 14:12:19,865 [94306276] INFO - il.connection.ServerConnection - Stopped listening on port 9003 |
|
This looks like xdebug is setting two facets on one attribute which it shouldn't do. Can you find I'm your log the line that has two facet attributes in the same xml element. It's likely just before the end of the Xdebug log. |
|
I set the previous note as private, probably not necessary, but just being cautious. Can you see it? |
|
Yes, I can read it, and see where the problem is. Going to have a proper look tomorrow. |
|
Fixed through https://github.com/xdebug/xdebug/pull/814 for 3.1.3. |
|
You are awesome! Do you know the timeframe for this release? Is there a nightly build I can pull? |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-12-22 20:14 | laurin1 | New Issue | |
2021-12-22 20:15 | laurin1 | Note Added: 0006178 | |
2021-12-22 20:22 | laurin1 | Note Added: 0006179 | |
2021-12-22 20:27 | laurin1 | Note Added: 0006180 | |
2021-12-22 21:47 | derick | Assigned To | => derick |
2021-12-22 21:47 | derick | Status | new => feedback |
2021-12-22 21:47 | derick | Note Added: 0006181 | |
2021-12-22 22:50 | laurin1 | Status | feedback => assigned |
2021-12-22 22:50 | laurin1 | Note Added: 0006183 | |
2021-12-22 23:08 | derick | Note Added: 0006184 | |
2021-12-23 10:29 | derick | Summary | Certain breakpoints caused Xdebug used with PHPStorm to exit and not break anymore => Debugger creates XML with double facet attribute |
2021-12-23 10:30 | derick | Target Version | => 3.1dev |
2021-12-23 11:16 | derick | Status | assigned => closed |
2021-12-23 11:16 | derick | Resolution | open => fixed |
2021-12-23 11:16 | derick | Fixed in Version | => 3.1dev |
2021-12-23 11:16 | derick | Note Added: 0006185 | |
2021-12-23 16:48 | laurin1 | Note Added: 0006186 | |
2022-02-01 16:27 | derick | Fixed in Version | 3.1dev => 3.1.3 |
2022-05-16 16:21 | derick | Relationship added | has duplicate 0002094 |