CDB crashes in Qt

荒凉一梦 提交于 2020-07-21 06:23:31

问题


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.

The relevant error message is

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."

What's going on here?


回答1:


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

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.

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.



来源:https://stackoverflow.com/questions/28552694/cdb-crashes-in-qt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!