Unsolved In QT engine how to "Unable to create a debugging engine"?
-
@amarism
As you see in link there is a path field. U can refer that path. -
@Ratzz first i need to download this file or not "For CDB (Windows only), specify the path to the Windows Console Debugger executable."
Beacuse in debugder colun nothing will be there.
-
@amarism
If Qt Creator does not show auto detected debugger then most likely u don't have debugger.
U can manually add debugger if u have installed.
Else u need to install windows debugger. -
@amarism said in In QT engine how to "Unable to create a debugging engine"?:
@Ratzz where we will get debugger
https://developer.microsoft.com/en-us/windows/downloads
You want the "Developer's tools" (where
cdb
is) and probably the SDK (for headers and libraries). -
@kshegunov i have already downloaded visual studio
-
There's a separate package, which I believe is called "Window's developer tools", that is not included in Visual Studio. The console debugger (
cdb
, which you want) is packaged there. -
@kshegunov i have already downloaded this one tools "SDT"
-
Okay, that's good. It's been some time since I've set up a windows environment, but bear with me. As far as I can remember when you start that installer you have to choose components. When you do, make sure you've selected the console debugger to be installed. After you've installed it someplace, then you can just point Creator to it - that is create a debugger entry on the respective page in the creator configuration and then select it from the dropdown list in the kit configuration page.
-
@kshegunov so i need to reinstall the window developer
-
@amarism
Did you run the setup you downloaded? -
@Ratzz yes
-
@amarism
Did it install?
Did you check in Qt Creator if debugger is detected? -
Take a look here: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/
After you've made sure you have installed the console debugger, add an entry in the debuggers in Creator and select the path to it. Then you can add it to the kit.
-
in my case i had to update the readline-7.0.XXX to readline-8.0.000 and it worked. just try gdb -v see if it works.
-
@ferdna how does that relate to Windows and CDB?