qt debugging - use debugging tools cdb

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools#small-classic-windbg-preview-logo-debugging-tools-for-windows-10-windbg
Here Insert Picture Description

Here Insert Picture Description

When installing qt to check:
Here Insert Picture Description
Here Insert Picture Description

Then start the qt:
Tools = "option
Here Insert Picture Description
here is to install two above us msvc 2017 64/32
and have the corresponding version of cdb.exe debugging tools.

After installing the windows sdk 10, found: C: \ Program Files (x86 ) \ Windows Kits \ 10 \ Debuggers \ x64 \ cdb.exe
this step is to automatically identify, if not, will have to install windows sdk, download path above has been given.
Here Insert Picture Description

Qt run the program, you can create a simple console project:
Here Insert Picture Description

Hit the break:
Here Insert Picture Description

Other:
If qtcreator have multiple projects open, you can close a project which:
Here Insert Picture Description

Published 610 original articles · won praise 96 · views 330 000 +

Guess you like

Origin blog.csdn.net/wodownload2/article/details/104274350