开发者

Debugging in Code::blocks

开发者 https://www.devze.com 2023-02-13 00:45 出处:网络
How to do debuging in codeblocks? I\'ve set few brakepoints and pressed debug/start but program doesn\'t stop on any of those brakepoints. What do I hav开发者_C百科e to do in order for it to work? i d

How to do debuging in codeblocks? I've set few brakepoints and pressed debug/start but program doesn't stop on any of those brakepoints. What do I hav开发者_C百科e to do in order for it to work?


i dont know if u solved it already but i had the same problem and just solved it!! i have searched a lot all over and eventually the problem was....

non ASCII chars on the project path !!

i had some hebrew letters on the path where my files are located !! i changed it to regular english letters and the debugger worked!!


In codeblocks for your program to debug , it should be in an active project .

So:

  1. create a new project and
  2. add your program to the project
  3. Then you will see the red play symbol enabled to debug your program.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号