How to debug QML with a CMake project.



  • I have set the flag -DQT_QML_DEBUG and checked "Enable QML" in "Build and run > Run > Debugger settings" (my translation) but still I cant step with the debugger. The instruction pointer is simply not shown the text view does not follow the instructoin pointer. Addtitionally I get this warnings on start:

    Warning: "QML Debugger: Invalid argument 'services:DebugMessages' detected. Ignoring the same."
    Warning: "QML Debugger: Invalid argument 'QmlDebugger' detected. Ignoring the same."
    Warning: "QML Debugger: Invalid argument 'V8Debugger' detected. Ignoring the same."
    Warning: "QML Debugger: Invalid argument 'QmlInspector' detected. Ignoring the same."
    QML Debugger: Waiting for connection on port 39750...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.