最近安裝了qt sdk1.2來(lái)學(xué)習(xí),發(fā)現(xiàn)無(wú)法調(diào)試!
出現(xiàn)以下錯(cuò)誤“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”
解決方案如下:
系統(tǒng)環(huán)境:
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,安裝過(guò)程中只需選擇安裝Common Utilities > Debugging Tools for Windows 即可
2.配置qt creator
重啟qt creator, 執(zhí)行調(diào)試, 隨后彈出symbol server配置對(duì)話框,選擇yes即可,稍等片刻即可調(diào)試。。。
Enjoy it!!!
聯(lián)系客服