Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

starting debugger cdbengine for abi "x86-windows-msvc2015-pe-64bit" hangs in qtcreator

I added the x64 cdb from Windows Kits 10 to debugger settings in the MSVC 2015 64bit Kit in qtcreator 4.1.0 on latest Windows 10.

But when I run the debugger for my application, the debugger seems to start really slowly. Even a first run of hello world takes 3 minutes to start and finish, same with my own applications. After the first time debugging start, sometimes it is a bit faster (less than 1 min) but still not as fast as on linux, which almost instantly shows up and finishes running the program.

It shows:

starting debugger cdbengine for abi "x86-windows-msvc2015-pe-64bit"

for a long time.

Any idea on how to fix this slow launching ?

like image 312
xgdgsc Avatar asked Sep 01 '16 12:09

xgdgsc


2 Answers

Adding to Szpaqn's answer (I can't comment yet):

Instead of deleting the whole config directory, it's sufficient to just delete:

C:\Users\YourUserName\AppData\Roaming\QtProject\qtcreator\debuggers.xml

After that and restarting QtCreator, I had to re-select the CDB as Debugger for the current Kit in Tools -> Options -> Kits.

like image 174
strfry Avatar answered Sep 20 '22 00:09

strfry


I had the same issue using Qt Creator 4.6.0 with CDB and a MSVC 2013 64-bit kit. I found that it correlated with times that my internet connection was slow. In Qt Creator, I went to Tools > Options > Debugger > CDB Paths and deleted the line pointing to the Microsoft symbol server:enter image description here

After deleting that line, my debugger started quickly again.

like image 30
mattee Avatar answered Sep 22 '22 00:09

mattee