Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 4.11.0
-
None
-
Windows 10 x86_64
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
- duplicates
-
QTBUG-80996 Large debug messages are not printed
-
- Closed
-