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
QtWS25 Last Chance

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 820 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.
  • K Offline
    K Offline
    KK2022
    wrote on last edited by KK2022
    #1

    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.HilkJ 1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      Just upgraded to 14.0.2. There is no issue on Ubuntu. Maybe only a Windows related issue.

      1 Reply Last reply
      0
      • K KK2022

        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.HilkJ Online
        J.HilkJ Online
        J.Hilk
        Moderators
        wrote on 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
        1
        • J.HilkJ J.Hilk

          @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 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

          JonBJ 1 Reply Last reply
          0
          • K KK2022

            @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

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on 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
            0
            • JonBJ JonB

              @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 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

              JonBJ J.HilkJ 2 Replies Last reply
              0
              • K KK2022

                @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

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on 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

                  @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.HilkJ Online
                  J.HilkJ Online
                  J.Hilk
                  Moderators
                  wrote on 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
                  0
                  • J.HilkJ J.Hilk

                    @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 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.HilkJ 1 Reply Last reply
                    0
                    • K KK2022

                      @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.HilkJ Online
                      J.HilkJ Online
                      J.Hilk
                      Moderators
                      wrote on 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
                      1
                      • J.HilkJ J.Hilk

                        @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 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 Offline
                          S Offline
                          SimonSchroeder
                          wrote on 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
                          0
                          • S SimonSchroeder

                            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 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

                            • Login

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