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 view missing
Forum Updated to NodeBB v4.3 + New Features

Debugger view missing

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qt creatorqt 6.8.0qt ide 14.0.2
13 Posts 5 Posters 957 Views 1 Watching
  • 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.
  • K KK2022
    18 Oct 2024, 10:21

    Hello,
    I just updated my Qt Creator to 14.0.2. I tried debugging a project (with Qt 6.8 MSVC) and noticed that the debugger view looks strange. I am not able to find the breakpoints list or the debugger perspective.
    Attached are the images
    d66a9143-5000-4510-a8b6-3c2c67e66479-image.png
    f4e1d030-54ca-436d-bd11-9a43ef7464ac-image.png

    A better image of the debugging mode
    8d6ebf6a-a924-488a-bad0-94fe8fc58917-image.png

    If I come out of debugging mode, the debugger perspective is back again.
    4ccc3eb3-785f-4b24-aa7c-307bedd3f3f8-image.png

    Please let me know if I am missing something.
    Thank you.

    J Online
    J Online
    J.Hilk
    Moderators
    wrote on 18 Oct 2024, 12:10 last edited by
    #3

    @KK2022 for some reason the default was changed

    look for the tiny "View" button and enable breakpoints there again:
    5967af98-7612-4b87-a06a-4370cc7c003e-image.png


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    K 1 Reply Last reply 18 Oct 2024, 12:14
    1
    • J J.Hilk
      18 Oct 2024, 12:10

      @KK2022 for some reason the default was changed

      look for the tiny "View" button and enable breakpoints there again:
      5967af98-7612-4b87-a06a-4370cc7c003e-image.png

      K Offline
      K Offline
      KK2022
      wrote on 18 Oct 2024, 12:14 last edited by
      #4

      @J-Hilk That is what's bugging me.
      The views button goes missing the moment debug mode is on.
      And it comes back when I am no more in debug mode.

      Without debug mode (Views button is visible)
      e99f6fa3-bc83-46ff-a9f8-32720fafe025-image.png

      With debug mode (that whole space is blank now)
      d3269c79-fa94-47ba-b4e0-876c59342815-image.png

      J 1 Reply Last reply 18 Oct 2024, 12:23
      0
      • K KK2022
        18 Oct 2024, 12:14

        @J-Hilk That is what's bugging me.
        The views button goes missing the moment debug mode is on.
        And it comes back when I am no more in debug mode.

        Without debug mode (Views button is visible)
        e99f6fa3-bc83-46ff-a9f8-32720fafe025-image.png

        With debug mode (that whole space is blank now)
        d3269c79-fa94-47ba-b4e0-876c59342815-image.png

        J Offline
        J Offline
        JonB
        wrote on 18 Oct 2024, 12:23 last edited by
        #5

        @KK2022
        I am only Creator 13 and am Linux, not Windows/MSVC. But what about starting from View > Views > Reset to Default Layout? Maybe you have already done that though....

        K 1 Reply Last reply 18 Oct 2024, 12:27
        0
        • J JonB
          18 Oct 2024, 12:23

          @KK2022
          I am only Creator 13 and am Linux, not Windows/MSVC. But what about starting from View > Views > Reset to Default Layout? Maybe you have already done that though....

          K Offline
          K Offline
          KK2022
          wrote on 18 Oct 2024, 12:27 last edited by KK2022
          #6

          @JonB Yes, I tried resetting it to default. Unfortunately did not help.

          I just noticed something. This issue happens only when using MSVC kit. With MinGW I just tried and the debugger panel is visible.
          Akismet is flagging my post as spam. Can't attach an image.

          Edit: Image of MinGW Debug mode
          bc6b501d-d5e5-4203-8940-efe2b4b7bc10-image.png

          J J 2 Replies Last reply 18 Oct 2024, 12:33
          0
          • K KK2022
            18 Oct 2024, 12:27

            @JonB Yes, I tried resetting it to default. Unfortunately did not help.

            I just noticed something. This issue happens only when using MSVC kit. With MinGW I just tried and the debugger panel is visible.
            Akismet is flagging my post as spam. Can't attach an image.

            Edit: Image of MinGW Debug mode
            bc6b501d-d5e5-4203-8940-efe2b4b7bc10-image.png

            J Offline
            J Offline
            JonB
            wrote on 18 Oct 2024, 12:33 last edited by
            #7

            @KK2022
            If the Creator version has "trouble" communicating with the MSVC/VS debugger maybe it would hide the panes because it cannot populate them correctly...?

            1 Reply Last reply
            0
            • K KK2022
              18 Oct 2024, 12:27

              @JonB Yes, I tried resetting it to default. Unfortunately did not help.

              I just noticed something. This issue happens only when using MSVC kit. With MinGW I just tried and the debugger panel is visible.
              Akismet is flagging my post as spam. Can't attach an image.

              Edit: Image of MinGW Debug mode
              bc6b501d-d5e5-4203-8940-efe2b4b7bc10-image.png

              J Online
              J Online
              J.Hilk
              Moderators
              wrote on 18 Oct 2024, 12:41 last edited by
              #8

              @KK2022 do you have cdb installed ?
              it's there for me in mcvc kit

              it should be here right in your black area....
              c6353e0c-a7ba-4333-932d-fac7d85fd323-image.png

              try disabling dark mode ?


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              K 1 Reply Last reply 18 Oct 2024, 13:07
              0
              • J J.Hilk
                18 Oct 2024, 12:41

                @KK2022 do you have cdb installed ?
                it's there for me in mcvc kit

                it should be here right in your black area....
                c6353e0c-a7ba-4333-932d-fac7d85fd323-image.png

                try disabling dark mode ?

                K Offline
                K Offline
                KK2022
                wrote on 18 Oct 2024, 13:07 last edited by KK2022
                #9

                @J-Hilk I just checked in the Qt Maintenance Tool. I have "CDB Debugger Support" installed.
                I just changed the theme to "Classic" and it looks like it doesn't help much unfortunately. It is still
                ba2f7ef3-7abf-4850-a140-737f65acf9ab-image.png

                It is still a blank space on "Classic" theme (Light Mode?!)
                bce50ee4-7423-4e34-ba38-6cc46ab2deff-image.png

                @JonB I think so too. I am not sure how to resolve this issue. I have a small project working with Bluetooth devices using a Windows PC. It looks like MSVC has better support for Bluetooth than MinGW. Trying my hand with MSVC now and I stumbled upon this debugger view issue.

                J 1 Reply Last reply 18 Oct 2024, 13:10
                0
                • K KK2022
                  18 Oct 2024, 13:07

                  @J-Hilk I just checked in the Qt Maintenance Tool. I have "CDB Debugger Support" installed.
                  I just changed the theme to "Classic" and it looks like it doesn't help much unfortunately. It is still
                  ba2f7ef3-7abf-4850-a140-737f65acf9ab-image.png

                  It is still a blank space on "Classic" theme (Light Mode?!)
                  bce50ee4-7423-4e34-ba38-6cc46ab2deff-image.png

                  @JonB I think so too. I am not sure how to resolve this issue. I have a small project working with Bluetooth devices using a Windows PC. It looks like MSVC has better support for Bluetooth than MinGW. Trying my hand with MSVC now and I stumbled upon this debugger view issue.

                  J Online
                  J Online
                  J.Hilk
                  Moderators
                  wrote on 18 Oct 2024, 13:10 last edited by
                  #10

                  @KK2022 I actually meant the debugger,
                  same as MSVC compiler itself you'll need to install it via Microsoft. And its not even part of the default c++ installation, its part of the windows kits

                  79e9e285-4de7-4e48-926b-c966c1267514-image.png


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  K 1 Reply Last reply 18 Oct 2024, 14:17
                  1
                  • J J.Hilk
                    18 Oct 2024, 13:10

                    @KK2022 I actually meant the debugger,
                    same as MSVC compiler itself you'll need to install it via Microsoft. And its not even part of the default c++ installation, its part of the windows kits

                    79e9e285-4de7-4e48-926b-c966c1267514-image.png

                    K Offline
                    K Offline
                    KK2022
                    wrote on 18 Oct 2024, 14:17 last edited by
                    #11

                    @J-Hilk It looks like I do have CDB installed on my PC.
                    4c23f089-1d0f-4820-a072-5eaca5479e92-image.png

                    These are the debuggers installed on my PC as per Qt.
                    7c38c353-f098-4751-b52c-b0b1c39bd365-image.png

                    It's not that I can't debug the project. I can still use the shortcuts like F5, F10... they still works.
                    It's just the whole debugger perspective panel goes blank during debugging. And I can't see how many breakpoints I have and where they are.
                    And I have the debugging options through the Menu Tab.
                    0cb29ff4-7acc-4a92-b248-0162fa243d8f-{D90325E3-818A-427E-92D2-7A0BB03D76C1}.png

                    1 Reply Last reply
                    0
                    • S Online
                      S Online
                      SimonSchroeder
                      wrote on 21 Oct 2024, 06:16 last edited by
                      #12

                      I don't know whats happening in your case. However, debugging MSVC on Windows is really slow inside Qt Creator. You are much better off using Visual Studio for that (I personally constantly switch between Qt Creator for editing (most of the time) and VS for debugging). Since you have a CMake project you can just open it up in VS. Don't forget to install the Qt debug helpers: https://wiki.qt.io/IDE_Debug_Helpers

                      K 1 Reply Last reply 21 Oct 2024, 16:58
                      0
                      • S SimonSchroeder
                        21 Oct 2024, 06:16

                        I don't know whats happening in your case. However, debugging MSVC on Windows is really slow inside Qt Creator. You are much better off using Visual Studio for that (I personally constantly switch between Qt Creator for editing (most of the time) and VS for debugging). Since you have a CMake project you can just open it up in VS. Don't forget to install the Qt debug helpers: https://wiki.qt.io/IDE_Debug_Helpers

                        K Offline
                        K Offline
                        KK2022
                        wrote on 21 Oct 2024, 16:58 last edited by
                        #13

                        @SimonSchroeder Thank you so much for the suggestion. I will try it out. Thank you.
                        Unfortunately with Qt Creator, I haven't found a solution. I tried reinstalling Qt completely. Nothing has changed. I hope we find a solution or maybe an update resolves this.

                        1 Reply Last reply
                        0

                        12/13

                        21 Oct 2024, 06:16

                        • Login

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