QtCreator 没有设置调试器 (Windows) [英] QtCreator no debugger set up (Windows)
问题描述
我正在尝试在 Windows 上使用 Qt creator,当我尝试开始调试时,它显示未设置调试器".我该如何配置?
I am trying to use Qt creator on Windows, and when I try to Start Debugging, it says "No debbuger set up". How do I configure it?
推荐答案
这在 设置调试器</a>.
This is documented in the Qt Reference Documentation on Setting up the Debugger.
您需要安装 Windows 调试工具(安装 Windows SDK 提供此功能),这将为您提供 cdb.exe
调试器.在安装 Windows SDK 时您可能会也可能不会遇到问题并需要解决此问题:安装 Windows SDK 7.1 时出错
You'll need to install the Debugging tools for Windows (installing the Windows SDK provides this) which will give you the cdb.exe
debugger. You may or may not encounter an issue when installing the Windows SDK and require this work around: Error when installing windows SDK 7.1
现在,启动 Qt Creator 并转到 Tools -> Build &运行 -> Debuggers,确认您现在看到 Auto-detected CDB.然后转到 Kits 选项卡,选择 Manual -> Desktop 并将 Debugger 值更改为 Auto-detected CDB.
Now, start Qt Creator and go to Tools -> Build & Run -> Debuggers, verify that you now see Auto-detected CDB. Then go to the Kits tab select Manual -> Desktop and change the Debugger value to the Auto-detected CDB.
现在以调试模式 (F5) 启动您的项目.
Now start your project in Debug mode (F5).
这篇关于QtCreator 没有设置调试器 (Windows)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!