Re: [問題] CodeBlock Debug mode
※ 引述《ghkckhg (名字背過又忘記)》之銘言:
: 開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
: Code::Block (win7)
: 問題(Question):
: Debug mode 中斷點不停。
: 檢查了一下,發現在 Build 時就有問題:
: ||=== Build: Debug in Peter (compiler: GNU GCC Compiler) ===|
: ld.exe||cannot open output file bin\Debug\Peter.exe Permission denied|
: ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
: 路徑看過了沒有中文:
: http://ppt.cc/N6Qx
: 請問是否有板友遇過相同問題呢?
: 謝謝~
: 補充:
: Build Release就沒有問題...
感謝LPH66大大,
的確和檔案沒關閉有關,
重開機後可以Build但還又出現另外一個警告:
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))
我的電腦沒有裝VC++系列,似乎只能使用GDB了,
上網載了gdb-7.7.tar ( http://ftp.gnu.org/gnu/gdb/ ),
解壓縮後找不到gdb.exe。
內容物看起來似乎是 source 要自己 Build,
不過目前找不到門路...
呃...想請問一下接著我能幹嘛?
謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.243.91.137
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1405447492.A.9AD.html
推
07/16 02:41, , 1F
07/16 02:41, 1F
→
07/16 02:41, , 2F
07/16 02:41, 2F
→
07/16 02:43, , 3F
07/16 02:43, 3F
推
07/16 09:07, , 4F
07/16 09:07, 4F
推
07/16 09:17, , 5F
07/16 09:17, 5F
推
07/16 10:13, , 6F
07/16 10:13, 6F
→
07/16 10:13, , 7F
07/16 10:13, 7F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章