qt creator 無法調試


最近安裝了qt sdk1.2來學習,發現無法調試!

出現以下錯誤“None of the debugger engines 'cdb engine,gdb engine' capable of debugging binaries of the type 'x86-windows-msvc2010-pe-32bit' is configured correctly”。

參考了qt的reference document “http://doc.qt.nokia.com/qtcreator-snapshot/creator-debugger-engines.html#setting-the-symbol-server-in-windows

解決方案如下:

系統環境:

win7

32-bit

x86

1.下載debugging tool for windows並安裝

下載路徑:http://msdn.microsoft.com/en-us/windows/hardware/gg463016

下載版本:Debugging Tools for Windows 32-bit Version

安裝下載到的winsdk_web.exe,安裝過程中只需選擇安裝Common Utilities > Debugging Tools for Windows 即可

2.配置qt creator

重啟qt creator,彈出symbol server配置對話框,選擇yes即可,稍等片刻即可調試。。。

Enjoy it!!!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM