mojira.dev
MC-235669

Debug tracer does not break lines after an error message

The bug

Debug trace files generated by /debug function <name> do not insert a line break after an error message started with [E].

How to reproduce

  1. Create an mcfunction mc-235669:test with the following commands

    data get storage mc-235669: undefined
    say .
    data get storage mc-235669: undefined
    say .
  2. /debug function mc-235669:test
    /debug function mc-235669:test

Expected output

mc-235669:test
    [C] data get storage mc-235669: undefined
        [E] Found no elements matching undefined
    [C] say . -> 1
mc-235669:test
    [C] data get storage mc-235669: undefined
        [E] Found no elements matching undefined
    [C] say . -> 1

Actual output

mc-235669:test
    [C] data get storage mc-235669: undefined
        [E] Found no elements matching undefined    [C] say . -> 1
mc-235669:test
    [C] data get storage mc-235669: undefined
        [E] Found no elements matching undefined    [C] say . -> 1

Comments 0

No comments.

intsuc

(Unassigned)

Confirmed

Platform

Low

Debug

1.17.1, 21w37a, 1.20.1, 1.21.4

Retrieved