Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-235669

Debug tracer does not break lines after an error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.1, 21w37a, 1.20.1, 1.21.4
    • None
    • Confirmed
    • Debug

      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 .
      2. /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
      

      Actual output

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

            Unassigned Unassigned
            intsuc intsuc
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: