How to configure CDB in Qt Creator (using VC debugger)

Source: Internet
Author: User

I was had the same problems too, and finally figured out how to solve this. Styne666 gave me a hint. Do the following:

    1. Tools
    2. Options ...
    3. Build & Run
    4. Tool Chains
    5. Use the ' Clone ' button to make a copy of the auto-detected MSVC items
    6. In each of the cloned items, you can specify the debugger in the "Debugger" field (e.g. C:\Program files\windows Kits\8.0\ Debuggers\x64\cdb.exe)
    7. After this everything seems ...

Colby

{Edit}

I should further mention so if you is running a 64-bit version of Windows and a 32-bit version of Qt Creator like I am,  You need to make sure that is pointing to the 32-bit versions of CDB (of which there is x86 and x64 target Versions). 32-bit Target builds I run this:

C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x86\cdb.exe

And for x64 builds I run this:

C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe

The tricky part was that it was somewhat difficult to get Microsoft to install the 32-bit version of the Debugging Tools on Your 64-bit machine. A co-worker tried to does so recently and said that he needed to install the Windows 8 tools in order to has the option to Do that-the Windows 7 versions would isn't let.

Http://stackoverflow.com/questions/9975949/how-to-configure-cdb-in-qt-creator

How to configure CDB in Qt Creator (using VC debugger)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.