Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: Qt Creator 4.13.1
-
Fix Version/s: Qt Creator 4.14.1
-
Component/s: Debugger
-
Environment:various *nix-based OSen
-
Platform/s:
-
Commits:e09867d7de8276e6a78b592fc8653d6241307614
Description
When doing frequent logging, "Application Output" can get behind, so when you hit a breakpoint, the log is NOT up to date, so you can't use logging as a debugging method.
for example code, see this article.
#include <QDebug> #include <unistd.h> int main(int argc, char *argv[]) { for (int i = 0; i < 20; ++i) { qDebug() << "Printing line " << i << "\n"; } int a = 0; // <-breakpoint here }