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

Debug output may appear two times

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.0.1
    • Fix Version/s: Qt Creator 3.1.0-beta
    • Component/s: Android Support
    • Labels:
      None

      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

            Assignee:
            dt Daniel Teske
            Reporter:
            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