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

QmlDebugger: Cannot debug on systems with journald support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0-rc1
    • OpenSuSE 13.2, Qt5.5 with journald support, QC from 3.6 branch
    • b9adbffe6fffe940547a5add209474bfea07167a

      Steps to reproduce:

      • have a Qt built with journald support
      • build QC with CONFIG+=journald with this Qt
      • start QC, create Quick Application from template, using this Qt
      • place a bp into the main.cpp and into the main.qml
      • start debugging
        • bp inside the main.cpp is hit -> trigger continue

      Current result:

      • nothing else happens, debugger log prints (almost continuously) 'Cannot connect to QML debugger'
      • when using 'journalctl -f' on the cmdline you'll see that the respective messages (port where it listens) of the qmldebugger are printed to the journal (I guess that QC tries to get the messages from stdout/stderr?)

      Note: Using a 'normal' (official release without journald support) Qt works fine.
      Note: Disabling C++ debugging for this project seems to work fine then, except for when hitting a bp, the debugging session finishes after a split of a second - but this seems to be related to using Qt5.5.0. (using Qt5.4.0 stops fine at bp when disabling C++ debugging)

        For Gerrit Dashboard: QTCREATORBUG-15409
        # Subject Branch Project Status CR V

            ulherman Ulf Hermann
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes