Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. The debugger is not stopping at breakpoints in Qt Creator 6 with CMake. It just runs the project as usual.
Forum Updated to NodeBB v4.3 + New Features

The debugger is not stopping at breakpoints in Qt Creator 6 with CMake. It just runs the project as usual.

Scheduled Pinned Locked Moved Unsolved Qt 6
19 Posts 4 Posters 873 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.
  • J JonB
    19 Feb 2025, 11:36

    @Ivan_Chokyrlan
    You have told us your Qt version. This is nothing to do with the version of Qt Creator you are running and having the problem in. You should let us know what that is. You can find it inside Creator, I think via the Help menu, you are looking for something like About Qt Creator.... The number will be somewhere around 11 to 15, give or take, not 6.

    I don't know whether it would help, but you might run the gdb.exe via the Command Prompt, place breakpoints and check whether that works.

    Nobody here is going to look at your system or use AnyDesk. Please understand this is a forum for users of Qt just like yourself, this is not The Qt Company itself.

    I Offline
    I Offline
    Ivan_Chokyrlan
    wrote on 19 Feb 2025, 13:32 last edited by
    #7

    @JonB A more detailed explanation can be given because the console shows an error.

    J 1 Reply Last reply 19 Feb 2025, 13:39
    0
    • I Ivan_Chokyrlan
      19 Feb 2025, 13:32

      @JonB A more detailed explanation can be given because the console shows an error.

      J Offline
      J Offline
      JonB
      wrote on 19 Feb 2025, 13:39 last edited by
      #8

      @Ivan_Chokyrlan I don't know what that means, nor how that affects you telling us what version of Creator you are using.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Ivan_Chokyrlan
        wrote on 20 Feb 2025, 07:22 last edited by
        #9

        Знімок екрана 2025-02-20 091813.png Знімок екрана 2025-02-20 091938.png Знімок екрана 2025-02-20 092108.png

        J 1 Reply Last reply 20 Feb 2025, 07:24
        0
        • I Ivan_Chokyrlan
          20 Feb 2025, 07:22

          Знімок екрана 2025-02-20 091813.png Знімок екрана 2025-02-20 091938.png Знімок екрана 2025-02-20 092108.png

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 20 Feb 2025, 07:24 last edited by
          #10

          @Ivan_Chokyrlan Which of these debuggers is used in your Kit? You should use the one provided by Qt installer.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Ivan_Chokyrlan
            wrote on 20 Feb 2025, 07:35 last edited by
            #11

            I can't understand which debugger I am using.

            J 1 Reply Last reply 20 Feb 2025, 07:43
            0
            • I Ivan_Chokyrlan
              20 Feb 2025, 07:35

              I can't understand which debugger I am using.

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote on 20 Feb 2025, 07:43 last edited by jsulm
              #12

              @Ivan_Chokyrlan Why don't you simply go to your Kit and check?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • I Offline
                I Offline
                Ivan_Chokyrlan
                wrote on 20 Feb 2025, 07:51 last edited by
                #13

                Знімок екрана 2025-02-20 094812.png

                Do you mean this? Here it is grey, I can`t understand that I need to choose the correct one.

                J 1 Reply Last reply 20 Feb 2025, 07:55
                0
                • I Ivan_Chokyrlan
                  20 Feb 2025, 07:51

                  Знімок екрана 2025-02-20 094812.png

                  Do you mean this? Here it is grey, I can`t understand that I need to choose the correct one.

                  J Online
                  J Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on 20 Feb 2025, 07:55 last edited by
                  #14

                  @Ivan_Chokyrlan You're using the correct compiler.
                  I just realized that you set the break point in an empty line (line 18). You have to set the break point in a code line!

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    Ivan_Chokyrlan
                    wrote on 20 Feb 2025, 08:02 last edited by
                    #15

                    Знімок екрана 2025-02-20 100144.png

                    https://drive.google.com/file/d/1UoBNfWE6cwxL6j5sNu_LzadoPTubwstS/view?usp=sharing

                    08b61238-22f0-4029-9167-9c888bfcc61e-image.png

                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      Ivan_Chokyrlan
                      wrote on 20 Feb 2025, 08:23 last edited by
                      #16

                      Nothing helped. Here are the photo and video

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on 20 Feb 2025, 11:13 last edited by
                        #17

                        Hi @Ivan_Chokyrlan,

                        1. Can you share your Debugger Log? You can find it in View > Views > Debugger Log (Switch to Debug mode first)
                        2. I strongly advice to use path names only containing ASCII characters. Please try something like D:\Users\ivanc\Test as project directory.

                        Regards

                        Qt has to stay free or it will die.

                        I 2 Replies Last reply 20 Feb 2025, 13:49
                        1
                        • A aha_1980
                          20 Feb 2025, 11:13

                          Hi @Ivan_Chokyrlan,

                          1. Can you share your Debugger Log? You can find it in View > Views > Debugger Log (Switch to Debug mode first)
                          2. I strongly advice to use path names only containing ASCII characters. Please try something like D:\Users\ivanc\Test as project directory.

                          Regards

                          I Offline
                          I Offline
                          Ivan_Chokyrlan
                          wrote on 20 Feb 2025, 13:49 last edited by
                          #18

                          @aha_1980
                          Знімок екрана 2025-02-20 154619.png Знімок екрана 2025-02-20 154659.png

                          1 Reply Last reply
                          0
                          • A aha_1980
                            20 Feb 2025, 11:13

                            Hi @Ivan_Chokyrlan,

                            1. Can you share your Debugger Log? You can find it in View > Views > Debugger Log (Switch to Debug mode first)
                            2. I strongly advice to use path names only containing ASCII characters. Please try something like D:\Users\ivanc\Test as project directory.

                            Regards

                            I Offline
                            I Offline
                            Ivan_Chokyrlan
                            wrote on 20 Feb 2025, 14:53 last edited by
                            #19

                            @aha_1980
                            Thank you very much for the hint! The problem was in the path—there was a folder with Cyrillic characters.

                            1 Reply Last reply
                            1

                            16/19

                            20 Feb 2025, 08:23

                            • Login

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