Code::Blocks調試報錯 Starting the debuggee failed: No executable specified, use `target exec'

1.必須創建工程debug

2.工程名不可有特殊字符或空格,能夠有字母、數字、下劃線調試

2.編譯器設置裏勾選-g(產生調試符號)ci

3.從新編譯項目(若是以前編譯過了)get

4.調試器設置 > Default > 設置可執行路徑爲:   (安裝路徑)\CodeBlocks\MinGW\bin\gdb.exe編譯器

5.設置斷點,調試編譯

上次升級Code::Blocks後調試器路徑就變了(變成了這個CodeBlocks\MinGW\gdb32\bin\gdb32.exe),而後致使調試報錯Starting the debuggee failed: No executable specified, use `target exec' table

相關文章
相關標籤/搜索