Re: [問題] CodeBlock Debug mode

看板C_and_CPP (C/C++)作者 (名字背過又忘記)時間11年前 (2014/07/16 02:04), 編輯推噓4(403)
留言7則, 4人參與, 最新討論串2/2 (看更多)
※ 引述《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
vc有express. 我討厭ms 但這東西還算begginer friendly
07/16 02:41, 1F

07/16 02:41, , 2F
初學者實在沒什麼必要用code::blocks搞自虐
07/16 02:41, 2F

07/16 02:43, , 3F
現在有全部整合成Visual Studio Express 2013 用用看吧
07/16 02:43, 3F

07/16 09:07, , 4F
推visual studio 不然就在linux下做事
07/16 09:07, 4F

07/16 09:17, , 5F
安裝tdm-gcc
07/16 09:17, 5F

07/16 10:13, , 6F
如果是裝了Code::Blocks+MinGW+TDM-GCC的版本,應該已經
07/16 10:13, 6F

07/16 10:13, , 7F
有GDB
07/16 10:13, 7F
文章代碼(AID): #1JnMr4cj (C_and_CPP)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #1JnMr4cj (C_and_CPP)