Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Unexpected debug behavior in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Unexpected debug behavior in Qt Creator

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 560 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.
  • D Offline
    D Offline
    drmhkelley
    wrote on last edited by
    #1

    I have two QML projects that behave differently in Qt Creator debug mode (the first is simple, second a bit more complex). The first behaves like I expect - execution stops at break points in .qml files so I can inspect variable values. The second does NOT stop at .qml breakpoints. It does, however, stop at breakpoints in associated .cpp files.

    The details of the compilation process for these projects appear completely comparable, and I don't see anything obvious in the .pro files that would explain the difference.

    What sorts of issues might lead to this, or where might I find the root cause for this behavior?

    Thanks

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Do you open two Qt creator at same time ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      1
      • D Offline
        D Offline
        drmhkelley
        wrote on last edited by
        #3

        No, I just run one Qt Creator at a time - several projects open, but also only one project active at a time.

        This started with a project I was developing using Qt 5.10.1. For various reasons, I chose to update to Qt 5.11.0. After, the update, I was no longer able to debug the project in Creator. This project was initially derived from the Qt Location example "mapviewer", but has undergone a substantial rework.

        So I just opened another example program. Initially just a simple one, but ultimately opened the 5.11 version of the same "mapviewer" example project.

        I can debug the 5.11 mapviewer example, but not my own project.

        So I suspect there is something amiss with my project configuration, but not a clue what.

        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