Qtcreator Debugger Configuration

Source: Internet
Author: User

Qtcreator does not have a debugger by default and therefore requires additional installation by the user.
WIN10 please download the installation: https://developer.microsoft.com/zh-cn/windows/hardware/download-windbg
Win8, win7 please download the installation (including 32-bit and 64-bit): http://download.csdn.net/detail/qq_35488967/9840722 Configuration Tutorial installation, there will be a lot of tools for you to choose, only select " Debugging Tools for Windows "can

After the installation is complete, open qtcreator, tools –> options –> build and run –>debuggers come in and see if there is a debugger option in the debugger list, and if so, prove the installation was successful.
On the current screen, click on the "Build Kit" –> the item under automatic detection. Selecting the ComboBox in the Debugger column opens a drop-down list, as shown in the figure
Select the appropriate option from the drop-down list, 32-bit Select x86,64 bit Select x64 Finally, click on the "Apply" debugging tutorial in the lower right corner

After you've configured your achievements, just debug it. Open a project, press F11 (the code will stay in the first sentence of the Min function), or make a breakpoint in the code, press the F5 button (the code will stop at the breakpoint), you can debug.

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.