View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002127 | Xdebug | Tracing | public | 2022-10-13 13:07 | 2022-12-08 18:51 |
| Reporter | Lyrkan | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.1.5 | ||||
| Fixed in Version | 3.2.0 | ||||
| Summary | 0002127: Tracing does not handle NUL char in anonymous closure scope | ||||
| Description | Hi there, While trying to parse a trace file generated by Xdebug 3.1.5 I noticed that levels were not incrementing/decrementing properly. When looking at the incriminating lines it seems that a newline character is missing on the previous one, for instance after Exception@anonymous in the following sample: <file> It does not happen if I set xdebug.var_display_max_depth to 0, but I suspect that's only because lines get smaller in this case. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 8.1.10-8.1.19 | ||||
|
|
I can reproduce that with this script:
With the following command line: |
|
|
|
|
|
Fixed in GIT, for RC2 (or final). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-10-13 13:07 | Lyrkan | New Issue | |
| 2022-11-02 11:35 | derick | Assigned To | => derick |
| 2022-11-02 11:35 | derick | Status | new => assigned |
| 2022-11-02 11:35 | derick | Note Added: 0006423 | |
| 2022-11-02 15:44 | derick | Summary | Some line breaks are missing in computerized traces => Tracing does not handle NUL char in anonymous closure scope |
| 2022-11-02 15:44 | derick | Note Added: 0006424 | |
| 2022-11-02 16:46 | derick | Status | assigned => closed |
| 2022-11-02 16:46 | derick | Resolution | open => fixed |
| 2022-11-02 16:46 | derick | Fixed in Version | => 3.2dev |
| 2022-11-02 16:46 | derick | Note Added: 0006430 | |
| 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 |