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?
-
Could you give us more information? What kind of OS and compiler are you using?Zuljin– Zuljin2011-02-24 16:20:54 +00:00Commented Feb 24, 2011 at 16:20
-
@Zuljin Windows 7 and GCC 4.5.1There is nothing we can do– There is nothing we can do2011-02-24 18:59:17 +00:00Commented Feb 24, 2011 at 18:59
-
Is your program compiled with debugging symbols?greatwolf– greatwolf2011-03-01 00:49:10 +00:00Commented Mar 1, 2011 at 0:49
-
@Victor and how can I check it?There is nothing we can do– There is nothing we can do2011-03-01 07:09:12 +00:00Commented Mar 1, 2011 at 7:09
-
You can find it under project->build options-> under compiler settings and linker settings. Since you're using gcc, make sure 'Produce debugging symbols [-g]' is checked for your debug configuration. There are also some diagnostic messages C::B logs for gdb. If there's no debug symbols, it would be indicated there.greatwolf– greatwolf2011-03-01 15:58:31 +00:00Commented Mar 1, 2011 at 15:58
Add a comment
|
2 Answers
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!!