Debugger not working even though I installed windows driver kit
-
thankyou Asimov and kshegunov I have realized that I do have WinDbg (ARM) in my list of programs now, I'm just not sure how to use it.
-
@Shadowblitz16 You need to configure the kit you're using so it knows about that debugger. Then just set breakpoints in QtCreator and start debuging via F5 http://doc.qt.io/qtcreator/creator-debugging.html
-
Hi,
ARM ? Are you cross-compiling ? If not you need a debugger matching your Qt build architecture.
-
Hey SGaist I have no idea what I'm doing I just followed the qt documentation
all I know is what I told you guys. please look at my first post.
-
@Shadowblitz16 said in Debugger not working even though I installed windows driver kit:
WinDbg (ARM)
You have installed the debugger for the ARM architecture.
- ARM: Embedded devices (e.g. phones, tablets)
- x86: 32-bit desktop
- x86_64 or x64: 64-bit desktop
First, install the version that matches your version of Qt.
-
ok let me look up my qt version.
-
The Debugger for MSVC desktop is called CDB. The docs should not point you to installing driver kit. That's an overkill and dated info. CDB is distributed as an optional component of the Windows SDK. If you installed Visual Studio you probably have Windows SDK installed already. Go to the add/remove window and "Modify" the Windows SDK installation. Select the "Debugging tools for Windows" optional component and QtCreator will pick it up automatically. You might need to select the debugger manually in your kit if it doesn't happen automatically.
-
@Chris-Kawa can you explain in more detail please?
maybe post some images of what to do as well? -
@Shadowblitz16
take a look at this Topic from about a year ago. It did help me setting up the debugger. -
@Shadowblitz16 Right, here's a step by step with pictures:
-
Go to uninstall or change program list.
-
Find "Windows Software Development Kit". There might be couple versions installed, depending on which components you selected during Visual Studio installation. Just pick the one with highest version number and click "Modify".
-
Select "Change" and press "Next".
-
Check "Debugging Tools For Windows", press "Change" and finish the installation. It might take a few moments.
-
Open QtCreator, go to Tools->Options->Build&Run->Debuggers tab and verify that the newly installed debugger is detected. There should be 32 and 64 bit versions of CDB.
-
Now go to the Kits tab, select the kit you're using and make sure the Debugger is set to the newly installed one. If it's not just select it from the combo and click "Apply". You might have different kits installed. The picture just shows one of mine. Do this for each MSVC kit you have.
Now you should be able to debug your app using this kit.
-
-
thankyou so much Chris Kawa I will do this right away.