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

[REG 3.6.1 -> 4.0] Weird characters instead of proper string from qDebug when debugging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.0.0-beta1
    • Fix Version/s: Qt Creator 4.0.0-rc1
    • Component/s: Debugger
    • Labels:
    • Environment:
      Windows 7 64 bit
      MSVC2013
      cdb 6.12
    • Commits:
      c3a56d78bd34949c39f093212126c3d6fcef5abb

      Description

      1. Run a simple program in the debugger:
        #include <QDebug>
        
        int main(int argc, char *argv[])
        {
            qDebug() << "This is QDebug";
            return 0;
        }
        
      2. See the Application Output view.
        You'll see something like:
        Debugging starts
        먊ꪬꪬ꫾궺ꪺDebugging has finished
        

      Instead, the Application Output view should show:

      Debugging starts
      This is QDebug
      Debugging has finished
      

      In Creator 3.6.1, this works correctly.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              davschul David Schulz
              Reporter:
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes