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

QML debugging no longer works (Could not connect to the in-process QML debugger. Do you want to retry?)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 13.0.1, Qt Creator 14.0.2, Qt Creator 15.0.1
    • None
    • Windows 10, Windows 11, Qt 6.8, Qt 6.5 (open source and enterprise licenses)
    • Windows

    Description

      After recent updates of Windows, QML debugger stopped working with the error "Could not connect to the in-process QML debugger. Do you want to retry?".

      This problem is present in Windows 11 and Windows 10.

      In the "General Messages" tab I have messages like "LanguageClient Qmlls (C:\Qt\6.8.1\msvc2022_64\bin\qmlls.exe): The command "C:\Qt\6.8.1\msvc2022_64\bin\qmlls.exe" terminated with exit code 1. (see logs in "C:/Users/User/AppData/Local/Temp/QtCreator-rDvXvi/lspclient.oyaMXm.log")", but the specified log file does not contain any useful information:

      Starting server: C:\Qt\6.8.1\msvc2022_64\bin\qmlls.exe
      Output:

      I tried to install the latest Qt and Visual Studio on an old computer that hadn't been updated for a couple of months (OS Windows 10). The debugger works there, so the problem is definitely in the incompatibility of the latest versions of Windows and Qt.

      Enabling and disabling QML Language Sever has no effect.

      The problem occurs regardless of the selected compiler (MSVC 2022, MinGW, etc.)

      Disabling the built-in antivirus and firewall also has no effect.

      The problem occurs regardless of Qt Creator versions, versions 15, 14, 13 were tested.

      Attachments

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

        Activity

          People

            hjk hjk
            parteimeister Vladyslav Andrusyshyn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes