Debugging tools for Windows
Using this engine requires you to install the Debugging tools for Windows 32-bit or 64-bit package (Version 6.11.1.404 for the 32-bit or the 64-bit version of Qt Creator, respectively), which is freely available for download from the Microsoft Developer Network. The Qt Creator help browser does not allow you to download files, and therefore, you must copy the above links to a browser.
Note: Visual Studio does not include the Debugging tools needed, and therefore, you must install them separately.
The pre-built Qt SDK for Windows makes use of the library if it is present on the system. When manually building Qt Creator using the Microsoft Visual C++ Compiler, the build process checks for the required files in "%ProgramFiles%\Debugging Tools for Windows".
It is highly recommended that you add the Symbol Server provided by Microsoft to the symbol search path of the debugger. The Symbol Server provides you with debugging informaton for the operating system libraries for debugging Windows applications.
Setting the Symbol Server in Windows
To obtain debugging information for the operating system libraries for debugging Windows applications, add the Symbol Server provided by Microsoft to the symbol search path of the debugger:
- Select Tools > Options... > Debugger > Cdb.
- In the Symbol paths field, open the Insert... menu and select Symbol Server....
- Select a directory where you want to store the cached information and click OK.
Use a subfolder in a temporary directory, such as C:\temp\symbolcache.
Note: Populating the cache might take a long time on a slow network connection.
Note: The first time you start debugging by using the Debugging tools for Windows, Qt Creator prompts you to add the Symbol Server.
参照网址:Setting Up Debugger