Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugger does not stopping at qml files but in c++ code it does.
Forum Updated to NodeBB v4.3 + New Features

Debugger does not stopping at qml files but in c++ code it does.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 554 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NivSwisa
    wrote on last edited by
    #1

    Hello,
    As the subject says, my debugger is attached at .cpp files and to the .qml files not.

    Explanation:

    • I have tried to use both 8.1 CDB and 10.0 CDB and still the same phenomenon.
    • I tried to add this: CONFIG+=declarative_debug CONFIG+=qml_debug to .pro files.
    • Also opened new qml project just to check the phenomenon and debugger is attached to qml like a charm.

    This is my configuration:

    0_1537086395283_IMAGE1.png

    What am I missing?
    Plz help me I feel frustrated,
    Thx!

    1 Reply Last reply
    0
    • AndySA Offline
      AndySA Offline
      AndyS
      Moderators
      wrote on last edited by
      #2

      Hi @NivSwisa,

      Sorry to hear that you are having problems getting it to debug your QML. At least it is working generally so we know the problem is limited to your project for some reason. Can you check the application output to see if it is indicating that it is able to connect to the QML debugger? It should have some text at the beginning which indicates this. If it is not attaching then can you send the output you get there?

      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NivSwisa
        wrote on last edited by
        #3

        Sure,

        This is what I get when starting the problematic application:

        QML debugging is enabled. Only use this in a safe environment.
        

        When starting another application (Where QML debugger works) I get :

        QML debugging is enabled. Only use this in a safe environment.
        QML Debugger: Waiting for connection on port 51528...
        

        Thank you.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved