Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1073

QML debugger fails to connect

    XMLWordPrintable

Details

    • e3468b8a6 (dev), 2f26a9f94 (dev)

    Description

      Steps to reproduce

      1. In Visual Studio, create a new "Qt Quick Application". Just accept the defaults presented by the "Qt Quick Application Wizard".
      2. Press F5 to debug the application (C++ only).
      3. Close the application window.
      4. Select "Extensions" > "Qt VS Tools" > "Qt Project Settings" and set "QML" > "Enable QML Debugging" to "Yes".
      5. Press F5 to debug the application (C++ and QML).

       

      Outcomes

      • At the end of Step #2, the Hello World window appears. We can interact with it as expected (e.g. resize it and close it)
      • At the end of Step #5, no window appears. The Output pane gets stuck at the following:
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_serverd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_debuggerd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_inspectord.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\bin\Qt6Quickd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\bin\Qt6OpenGLd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\bin\Qt6QmlModelsd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_messagesd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_nativedebuggerd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_previewd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_profilerd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_quickprofilerd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_quick3dprofilerd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\bin\Qt6Quick3DUtilsd.dll'. 
      'QtQuickApplication1.exe' (Win32): Loaded 'C:\Qt\Online\6.4.1\msvc2019_64\plugins\qmltooling\qmldbg_locald.dll'. 
      QML Debugger: Connecting to socket {F17BA137-11AC-42A3-87D9-13656B990A23}...
      

       

      Notes

      Attachments

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes