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

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.0.0-rc1
    • Qt Creator 4.0.0-beta1
    • Debugger
    • Windows 7 64 bit
      MSVC2013
      cdb 6.12
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: