Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24709

file path accent encoding is wrong when debugger is running

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.13.1
    • Fix Version/s: Qt Creator 4.14.0-beta1
    • Component/s: Debugger
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      f08c3d150af86a4c0760054e5b6cdbff023f8634

      Description

      I have a program stored in a folder containing an accent / and ยบ character.

      I can run the QtCreator debugger correctly with breakpoints. It stops where expected.

      There are however two minor issues:

      • The red dot in the editor, that marks where the breakpoint is, 'disappears' while running the debugger, and 'reappears' after stopping it. The debugger does stop where it is supposed to stop, but the red dot disappears.
      • The breakpoint does appear in the list of breakpoints on the right column (before, during and after). However, if I double click on it, the link only works if the debugger is not running

      The reason is that the "File" encoding changes when the debugger is running. The debugging steps work well, but the link to the QtCreator editor does not. See below the screenshots:

      Debugger is not running:

      Debugger is running. Notice wrong character encoding:

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              fmercury Ferdy Mercury
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes