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

Application output panel does not display all debug output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.11.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10 x86_64
    • Platform/s:
      Windows

      Description

      Executing this test program in QtCreator 4.11 in Windows 10 x86_64:

       

      #include <QCoreApplication>
      #include <QDebug>
      
      int main(int argc, char *argv[])
      {
       QCoreApplication a(argc, argv);
       QString str;
       str.fill('1', 32763);
       qDebug() << str;
       str.fill('2', 32764);
       qDebug() << str;
       return 0;
      }
      

      If "Run in terminal" option is checked under Run Settings, both strings with 1's and 2's are displayed correctly at the terminal window, but when the check is removed, and the debug output is redirected to the Application Output panel, any content larger than 32763 characters is silently omitted. The same as with `console.log()` in QML.

      In Linux this doesn't happen.

      In Options > Build & Run > Limit output to: 10000000 characters, as the default.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              plcl Pedro López-Cabanillas
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes