在Qt creator中使用Qt for VS2008建立Debug工具

本文介绍了如何在Qtcreator中使用Visual Studio 2008的SDK进行Debug调试,包括安装Debugging tools for Windows、设置Symbol Server、添加Symbol Server到调试器路径等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在Qt creator中使用Qt for VS2008建立Debug工具  

     如果在Qt creator中使用VS2008的SDK的话,Debug的时候会提示“The Application requires the debugger engine 'Cdb' , which is disabled”。打开这个引擎就需要使用Windows SDK里面的Debugging tool for Windows工具,而且需要设置Symbol Server。详细设置方法如下:

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:

  1. Select Tools > Options... > Debugger > Cdb.
  2. In the Symbol paths field, open the Insert... menu and select Symbol Server....
  3. 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


分享到:         
阅读(1673) |  评论(0) |  转载  (0)  | 举报
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值