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

Qt Creator debugger does not flush "Application Output" on every log call

    XMLWordPrintable

    Details

      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
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            davecotter David M. Cotter
            Votes:
            12 Vote for this issue
            Watchers:
            14 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes