Unexpected CDB Exit
-
Hello,
a little ago I've deinstalled Qt 5.6, removed possible leftover directories and installed the newest version 5.7 (Version: Visual Studio 2015 - 64bit)
Expecting to hit a few difficulties, I had an issue right away, which I got fixed after deleting the toolchains.xml file as suggested in this post.Now my problem is, that when trying to execute the code in debug mode - debug it (default hotkey F5) - I get instantly a very descriptive error.
"Unexpected CDB Exit"
"The CDB process terminated."
Running it works fine, debugging not at all.I have a totally empty project (default files) without changes - Qt Widgets.
I went through previous posts and google and can't seem to figure out a solution for this error.
Settings - Options:
Kits - Desktop Qt 5.7.0 MSVC2015_64bitQt Versions - VS'15 - 64bit
Compilers Auto-detected from 12.0 and 14.0
(x86) (amd64) (x86_amd64) (x86_arm) (amd_64_arm)
Debuggers Auto-detected:
C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe - and x64 C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe - and x64
CMake Auto-detected @Default installation path
I hope someone's able to help me with this issue.
-
I was getting this error yesterday. I found the the CDB version didn't match with the linked UCRT.
I'm using Qt 5.6 to develop my application I found that I need to manually link against ucrt like this
INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/ucrt" LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.10586.0/ucrt/x64"
And I found that the CDB version need to match the ucrt version. So I am using CDB 10.0.10586.0 now and it is working.
-
This post is deleted!
-
I had the same unexpected CDB Exit since Qt Creator version 4.3. In Qt Creator 4.2.2 CDB works just fine.
The solution for me was uninstalling Python 2.7. It is still a work around for me, because I need Python 2.7 for compiling Qt WebEngine from source. Does somebody have a working solution for having Python 2.7 and Qt Creator 4.5 and CDB installed in parallel? -
Hi
Just noticed i have same issue
Thank you windows update \o/
-
My solution of this issue:
I've check my exe by Depends, and... I miss some dll, linked by .lib!
Then I put this DLL into System32 - et voila! CDB work now. -
@Destructor You should not put them into system32 directory - put them in the same directory where you exe is.
-
@bitlixi's advice worked for me