1

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 have to do in order for it to work?

There is nothing we can do
  • 23,727
  • 30
  • 106
  • 194

2 Answers2

0

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.
davejal
  • 6,009
  • 10
  • 39
  • 82
0

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!!

danfromisrael
  • 2,982
  • 3
  • 30
  • 40