Qt Maintenance Tool add new components
-
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?
-
@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.
-
@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. -
High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger.
-
@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.
-
@mihaijulien Here's what I have, I use Linux as well, and GDB is auto detected:
-
@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?