View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002136 | Xdebug | Step Debugging | public | 2022-11-04 07:45 | 2022-12-08 18:51 |
| Reporter | barel | Assigned To | derick | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Ubuntu | ||||
| Product Version | 3.1.5 | ||||
| Fixed in Version | 3.2.0 | ||||
| Summary | 0002136: Duplicate line/conditional breakpoints are not rejected | ||||
| Description | If you set two breakpoints in the same line and then do a | ||||
| Steps To Reproduce | Run the test <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="9"><breakpoint type="line" resolved="unresolved" filename="file://bug01388-01.inc" lineno="4" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint><breakpoint type="line" resolved="unresolved" filename="file://bug01388-01.inc" lineno="4" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint></response> As you can see this response contains two copies of the same breakpoint. I would have expected to see: <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="9"><breakpoint type="line" resolved="unresolved" filename="file://bug01388-01.inc" lineno="4" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0001"></breakpoint><breakpoint type="line" resolved="resolved" filename="file://bug01388-01.inc" lineno="4" state="enabled" hit_count="0" hit_value="0" id="{{PID}}0002"></breakpoint></response> | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.4.30-7.4.39 | ||||
|
|
The solution that I picked was to not allow duplicate line/conditional breakpoints instead. These are pretty pointless, and most IDEs won't allow their UI to do this anyway. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-11-04 07:45 | barel | New Issue | |
| 2022-11-04 16:00 | derick | Assigned To | => derick |
| 2022-11-04 16:00 | derick | Status | new => acknowledged |
| 2022-11-08 16:47 | derick | Summary | Breakpoint info duplicated => Duplicate line/conditional breakpoints are not rejected |
| 2022-11-08 16:47 | derick | Note Added: 0006442 | |
| 2022-11-08 17:06 | derick | Status | acknowledged => closed |
| 2022-11-08 17:06 | derick | Resolution | open => fixed |
| 2022-11-08 17:06 | derick | Fixed in Version | => 3.2dev |
| 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 |