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

System logs displayed in Application output when debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.8.0-beta1
    • Qt Creator 4.7.0
    • Debugger
    • None
    • Manjaro Linux
    • Linux/X11

    Description

      During debug session I can sometimes see parts of system log in Application Output. It doesn't happen if I simply Run the application, only when I debug it.

      Case 1: application is running in chroot. Application and gdbserver are being launched by Qt Creator via remote debugging + SSH. The app writes its logs to stdout and to syslog, so in Application Output I often see duplicated text. Not that in some cases the syslog ones are missing timestamps.

      Case 2: application is running on a remote server with old SSH not supported by Qt Creator. gdbserver and application are being launched manually, Qt Creator then connects to it via "Attach to running Debug server". The SSH errors in "syslog output" were caused by my local script malfunction.

      Attachments

        1. 1.png
          1.png
          104 kB
        2. 2.png
          2.png
          52 kB
        For Gerrit Dashboard: QTCREATORBUG-20995
        # Subject Branch Project Status CR V

        Activity

          People

            hunger Tobias Hunger
            artalus Igor Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes