Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Multiline strings affect display of stacktraces, line numbers + error line program jumps to in code in editor

    Bug Reporting (FUZE 4 Nintendo Switch)
    2
    2
    153
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • joyrider3774
      joyrider3774 last edited by joyrider3774

      It seems multiline strings affect the display of stack traces as well as the line fuze jumps to after displaying an error. In my program errors were reported always by X nr of amount of lines before the line where the real error was and it seems it was caused by multiline strings.

      Consider this program:
      c42563ec-dc57-4e1d-af13-aa249f149ea9-image.png

      when you execute it you get these totally wrong stack traces. In a bigger project they give you really weird results and confuse me a lot

      c1a15e6f-4fc8-4b95-96ea-029e1c3bc0cd-image.png

      the cause is the multiline string. If i change it to just a single line string
      9717b0f4-b578-43b0-b2a3-362c43b89b67-image.png

      the program indicates correct line numbers and also jumps correctly to the line containing the error
      adbb5ab3-60e7-4404-a94d-74c6a88750a8-image.png

      1 Reply Last reply Reply Quote 5
      • Willpowered
        Willpowered Fuze Team last edited by

        Thanks for the report! A fix will be coming with the next patch.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post