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

Combined QML-C++ debugging not working on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 2.3.0
    • Quick / QML Support
    • None
    • Windows 7, Qt 4.7.3 (built from git 1860964), Qt Creator from master (db24a27), all built with mingw

    Description

      Enabling both QML and C++ debuggers in the Project debugger settings doesn't work - in the application output I get:
      Debugging starts
      Qml debugging is enabled. Only use this in a safe environment!
      QDeclarativeDebugServer: Waiting for connection on port 3768...

      but no connection. If I disable C++ debugger everything works and I get:
      Debugging starts
      Starting D:\Qt\dev\qmltest-build-desktop\debug\qmltest.exe "-qmljsdebugger=port:3768"
      QDeclarativeDebugServer: Waiting for connection on port 3768...
      QDeclarativeDebugServer: Connection established

      The test app is launched in both cases. For reference, with the same Creator and Qt versions combined QML-C++ debugging does work for Symbian (although with one minor patch from me in the symbian-specific bits that's not yet in master)

      Debugger log for working QML only and non-working QML&C++ cases attached.

      Attachments

        1. qml-cpp-debug-not-working.txt
          30 kB
          Tom Sutcliffe
        2. qml-debug-working.txt
          4 kB
          Tom Sutcliffe
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cjanssen Christiaan Janssen (Inactive)
            tomsci Tom Sutcliffe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes