无法在 Windows 10 上进行 Qt Creator 调试

Can't get Qt Creator debug working on Windows 10

我开始在 Windows 10 上使用 Qt 4.8.4,两天来我一直在尝试使用调试器,但就是无法正常工作。

首先,我下载了 MinGW 4.4,这是我 select 用于 Qt 安装的版本。我还从 SDK 安装了 Windows 10 个调试器工具。 x86和x64 CDB调试器都被Qt Studio自动识别,我手动添加了MinGW自带的GDB可执行文件

问题是我无法让任何调试器工作,即使使用我能想象的最简单的代码,我只是增加一个整数。

使用任何 CDB 调试器时,我收到以下消息:

The selected debugger may be inappropiate for the inferior. Examining symbols and settings breakpoints by file name and line number may fail. The inferior is in the Portable Executable format. Selecting GDB as debugger would improve the debugging experience for this binary format

所以我决定 select 我之前链接的 GDB 调试器,我收到一条错误消息:

No symbol table is loaded. Use the "file" command.

我看过这个,但我不知道如何设置 Qt Creator 来使用那个文件命令。

我不知道如何解决这个问题,我也没有在网上找到任何解决方案。重装Qt也没用

有人可以帮我吗?我的工作需要这个,但我完全卡住了。

PS:这是我的套件和调试器配置,希望对您有所帮助。 非常感谢!

好的,所以似乎无法在这个版本的 64 位 Qt 上使用调试器 Windows:source