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. Qt Creator will not break in one class
Forum Update on Monday, May 27th 2025

Qt Creator will not break in one class

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qtcreatordebugdebugger
5 Posts 3 Posters 659 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
    Dariusz
    wrote on 6 Feb 2022, 18:29 last edited by
    #1

    Hey

    I'm loosing it :D

    I need to debug an issue with one of my objects but QT will NOT breakpoint in it. No matter what I do. It will break everywhere else but in my class that is doing work.

    Any ideas wtf I can do. I'm losing it.

    Regards
    Dariusz

    P 1 Reply Last reply 6 Feb 2022, 18:48
    1
    • D Dariusz
      6 Feb 2022, 18:29

      Hey

      I'm loosing it :D

      I need to debug an issue with one of my objects but QT will NOT breakpoint in it. No matter what I do. It will break everywhere else but in my class that is doing work.

      Any ideas wtf I can do. I'm losing it.

      Regards
      Dariusz

      P Offline
      P Offline
      Pl45m4
      wrote on 6 Feb 2022, 18:48 last edited by Pl45m4 2 Jun 2022, 18:49
      #2

      @Dariusz

      You sure that the code where the breakpoint is, gets executed?
      Maybe you dont reach the breakpoint or bypass it somehow?!


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dariusz
        wrote on 9 Feb 2022, 09:13 last edited by
        #3

        Hey
        I ended up debug/printing it in clion instead.

        I gave up on qtcreator with it. Will circle back to it in future.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Stokestack
          wrote on 25 Feb 2022, 21:18 last edited by Stokestack
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • S Offline
            S Offline
            Stokestack
            wrote on 25 Feb 2022, 21:49 last edited by Stokestack
            #5

            I may have found the key condition for this: inconsistent capitalization between the file on disk and the entry in your project file. My project is all CMake, and CMakeLists.txt specified a capital letter in the parent directory of the source file; but it was in lower case on disk.

            Bug report here: https://bugreports.qt.io/browse/QTCREATORBUG-27123
            Related: https://bugreports.qt.io/browse/QTCREATORBUG-18007

            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