作者ghkckhg (名字背過又忘記)
看板C_and_CPP
標題Re: [問題] CodeBlock Debug mode
時間Wed Jul 16 02:04:48 2014
※ 引述《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
推 Killercat:vc有express. 我討厭ms 但這東西還算begginer friendly 07/16 02:41
→ Killercat:初學者實在沒什麼必要用code::blocks搞自虐 07/16 02:41
→ Killercat:現在有全部整合成Visual Studio Express 2013 用用看吧 07/16 02:43
推 steve1012:推visual studio 不然就在linux下做事 07/16 09:07
推 diabloevagto:安裝tdm-gcc 07/16 09:17
推 saxontai:如果是裝了Code::Blocks+MinGW+TDM-GCC的版本,應該已經 07/16 10:13
→ saxontai:有GDB 07/16 10:13