CodeBlocks調試器缺少(gdb.exe)文件


錯誤如下:

Building to ensure sources are up-to-date
Selecting target: 
Debug
ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))

然后習慣性的設置斷點,調試…出現了問題,如下圖所示

 

       廢話不多說,直接上解決方案。Setting-debugger-GDB/CDB debugger-default中

       之前是這樣的

 

 

       可執行路徑這里是空的,需要指定調試器的位置,我用的是mingw,找到gdb.exe的文件位置,更改即可,如下圖為MinGW\bin\gdb32.exe

 


免責聲明!

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



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