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

No `Application Output` output when debugging with qmljsdebugger attached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.14.1
    • Debugger
    • None
    • Windows

    Description

      Simple Hello World app, on Windows 11, where I do not see any application output when debugging qml

      ```

      import QtQuick
      import QtQuick.Controls.Material

      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
          Button{
              text: "click me"
              onClicked:

      {             print("hi")         }

          }
      }

      ```

      Run without debugger:

      ```

      08:17:52: Starting C:\workspace\Qt\tedt\build\Desktop_Qt_6_8_0_MSVC2019_64bit-Debug\apptedt.exe...
      QML debugging is enabled. Only use this in a safe environment.
      qml: hi
      qml: hi

      ```

      Run with debugger attached:

      ```

      08:18:20: Debugging C:\workspace\Qt\tedt\build\Desktop_Qt_6_8_0_MSVC2019_64bit-Debug\apptedt.exe "-qmljsdebugger=port:53948,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation" ...
      mincore\com\oleaut32\dispatch\ups.cpp(2126)\OLEAUT32.dll!00007FFB2357470C: (caller: 00007FFB235749FA) ReturnHr(1) tid(5c8c) 8002801D Library not registered.
      08:18:27: Debugging of C:\workspace\Qt\tedt\build\Desktop_Qt_6_8_0_MSVC2019_64bit-Debug\apptedt.exe "-qmljsdebugger=port:53948,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation" has finished.

      ```

      Note that I still see the output in the QML Debugger Console.

       

      When I select `Run in terminal` I do get outputs in the `Application Output` tab, but not in the terminal Windows, but the QML debugging is broken see https://bugreports.qt.io/browse/QTCREATORBUG-31281

       

      Attachments

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

        Activity

          People

            hjk hjk
            kelteseth Elias Steurer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes