CDB在Qt中崩溃 [英] CDB crashes in Qt

查看:444
本文介绍了CDB在Qt中崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7上有一个使用MSVC 2013和CDB调试器的Qt 5.4项目。
当我尝试调试程序时,调试日志显示调试器崩溃。我无需调试即可运行该程序。

I have a Qt 5.4 project on Windows 7 using MSVC 2013 and the CDB debugger. When I attempt to debug the program, the debug log shows that the debugger crashes. I can run the program without debugging.

相关错误消息是


无法执行' C:。 。Qt\build-GENOVA-> Clone_of_Desktop_Qt_5_4_0_MSVC2013_64bit-Debug\debug\GENOVA.exe,Win32错误> 0n50
不支持该请求。
Debuggee初始化失败,Win32错误0n50
不支持该请求。

Cannot execute '"C:...\Qt\build-GENOVA->Clone_of_Desktop_Qt_5_4_0_MSVC2013_64bit-Debug\debug\GENOVA.exe"', Win32 error > 0n50 "The request is not supported." Debuggee initialization failed, Win32 error 0n50 "The request is not supported."

这是怎么回事?

推荐答案

转到 Qtcreator-> option-> build& run->调试器查看CDB的版本。

Go to Qtcreator->option->build&run->debuggers to see the version of your cdb.

可能是因为您使用32位cdb调试64位程序。如果是32位,请尝试将其卸载并安装64位。

It may because you are using a 32bit cdbto debug a 64bit program. if it is 32bit, Try to uninstall it and install 64bit one.

如果您的cdb是64位,请尝试使用windbg.exe(在cdb.exe的同一文件夹中) )打开可执行文件以查看更多错误详细信息。

If your cdb is 64bit, try to use windbg.exe(at the same folder of cdb.exe) to open your executable file to see more error details.

这篇关于CDB在Qt中崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆