Results 1 to 5 of 5

Thread: Unexpected CDB Exit

  1. #1
    Join Date
    Jun 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Unexpected CDB Exit

    Hello,

    I've recently 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 don't seem to figure out a solution for this error.

    QT_Debugger_Problem.jpg

    Settings - Options:
    Kits - Desktop Qt 5.7.0 MSVC2015_64bit

    Qt 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.

  2. #2
    Join Date
    Nov 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Unexpected CDB Exit

    I have the same issue.

    Platform: Win7 x64
    Qt: 5.6.1-1
    Compiler: MSVC 2015 amd64
    QtCreator: 4.0.3

  3. #3
    Join Date
    Jul 2013
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Unexpected CDB Exit

    I also faced the same problem when I upgrade from vs 2015 update 2 to vs 2015 update 3

  4. #4
    Join Date
    Jun 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Unexpected CDB Exit

    I had the same issue, however I later found out that CDB it was using was coming from x86 folder, where my PC is x64 based. I simply selected appropriate version of CDB and voila my problem was solved!

  5. #5
    Join Date
    Mar 2018
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Unexpected CDB Exit

    Usually this message appears when some dll is missing or not matching (32bit/64bit). Click the exe file and it will tell you which dll is missing.

Similar Threads

  1. Unexpected QTextCursor behaviour
    By Binary91 in forum Qt Programming
    Replies: 4
    Last Post: 10th July 2015, 13:48
  2. Replies: 1
    Last Post: 28th February 2014, 17:01
  3. Link Error and Unexpected Finish
    By decoy in forum Newbie
    Replies: 1
    Last Post: 14th June 2012, 02:43
  4. Unexpected build errors in a Qt project
    By prykHetQuo in forum Qt Programming
    Replies: 2
    Last Post: 24th January 2010, 22:33
  5. How can I manage an unexpected program crash?
    By cydside in forum Qt Programming
    Replies: 1
    Last Post: 22nd August 2009, 07:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.