Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Maintenance Tool add new components
Forum Updated to NodeBB v4.3 + New Features

Qt Maintenance Tool add new components

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 1.6k 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.
  • M Offline
    M Offline
    mihaijulien
    wrote on last edited by
    #1

    Hello,

    I already installed Qt and I am able to code. However, I noticed I am not able to debug my code and I see that I'm missing the CDB Debugger.

    I go to Tools > Qt Maintenance Tool > Start Maintenance Tool. A new window appears. I select "Add or remove components" and it seems I can't see the Debugger I'm looking for.

    What am I doing wrong?

    6620d2b9-7eb8-4b7e-81ba-d7bf02b05416-image.png

    JonBJ 1 Reply Last reply
    0
    • M mihaijulien

      Hello,

      I already installed Qt and I am able to code. However, I noticed I am not able to debug my code and I see that I'm missing the CDB Debugger.

      I go to Tools > Qt Maintenance Tool > Start Maintenance Tool. A new window appears. I select "Add or remove components" and it seems I can't see the Debugger I'm looking for.

      What am I doing wrong?

      6620d2b9-7eb8-4b7e-81ba-d7bf02b05416-image.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @mihaijulien
      I could easily be wrong :), but isn't CDB a debugger supplied by Microsoft? Maybe as part of MSVC/VS or Windows SDK or something? In which case Qt is not going to be supplying it?

      As for whether you actually need it, depends on your platform and compiler toolkit.

      C 1 Reply Last reply
      1
      • JonBJ JonB

        @mihaijulien
        I could easily be wrong :), but isn't CDB a debugger supplied by Microsoft? Maybe as part of MSVC/VS or Windows SDK or something? In which case Qt is not going to be supplying it?

        As for whether you actually need it, depends on your platform and compiler toolkit.

        C Offline
        C Offline
        CPPUIX
        wrote on last edited by
        #3

        @JonB You're right, I found this, and it says

        (for example, you must install the CDB debugger on Windows yourself)

        JonBJ 1 Reply Last reply
        0
        • C CPPUIX

          @JonB You're right, I found this, and it says

          (for example, you must install the CDB debugger on Windows yourself)

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Abderrahmene_Rayene
          I assume you are using MSVC/VS then. Are you doing low-level system stuff? I believe CDB is a low-level debugger. If you are doing high-level programming I suspect the MS VS debugger is a better choice? Just saying, I know no more than this.

          C 1 Reply Last reply
          0
          • JonBJ JonB

            @Abderrahmene_Rayene
            I assume you are using MSVC/VS then. Are you doing low-level system stuff? I believe CDB is a low-level debugger. If you are doing high-level programming I suspect the MS VS debugger is a better choice? Just saying, I know no more than this.

            C Offline
            C Offline
            CPPUIX
            wrote on last edited by
            #5

            @JonB Oh I'm not the OP, just a passer by, and thought I'd mention what the documentation says to back up what you said, maybe it helps the OP.

            You should address the OP with this, it might be helpful to them as well.

            1 Reply Last reply
            1
            • M Offline
              M Offline
              mihaijulien
              wrote on last edited by
              #6

              High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger.

              C JonBJ 3 Replies Last reply
              0
              • M mihaijulien

                High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger.

                C Offline
                C Offline
                CPPUIX
                wrote on last edited by CPPUIX
                #7

                @mihaijulien Qt does not offer its own debugger nor to install one, it uses already available ones on your system, you're using linux so you already got GDB, if you need CDB then you need to install it yourself.

                You also need to install debug information files, and make sure you're using the Debug Kit when you're building.

                1 Reply Last reply
                1
                • M mihaijulien

                  High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger.

                  C Offline
                  C Offline
                  CPPUIX
                  wrote on last edited by
                  #8

                  @mihaijulien Here's what I have, I use Linux as well, and GDB is auto detected:

                  Debuggg.png

                  1 Reply Last reply
                  0
                  • M mihaijulien

                    High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger.

                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on last edited by JonB
                    #9

                    @mihaijulien said in Qt Maintenance Tool add new components:

                    High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger.

                    CDB is for Windows, not Linux! As @Abderrahmene_Rayene said, you should already have gdb installed on Linux along with your gcc toolchain, and Qt Creator will happily use that. So far as I can see you have and Creator has detected it, so you should already be good to go for debugging?

                    1 Reply Last reply
                    1

                    • Login

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