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

Debug output may appear two times

    XMLWordPrintable

Details

    Description

      When I use QtCreator to run android apps, sometimes the debug output line written by qDebug() will appear two times in QtCreator's Application Output panel.
      I think the problem is caused by AndroidRunner::logcatReadStandardOutput(), in that function it will remember the last line of logcat output if the output ends with '\n', and next time it will prepend the last line of the previous output to the new logcat output, then the line will be output twice.

      Attachments

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

        Activity

          People

            dt Daniel Teske
            jianliang79 liang jian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes