Code::Blocks Forums
User forums => Help => Topic started by: stew79 on June 24, 2012, 12:46:08 pm
-
Can some one pls help me
I did have code blocks stopping on breakpoints before but now, for some reason it just ignores them.
I have searched google and this forum and did the things they suggested ---
I am currently doing an sdl project and it is set correctly and running. In my project build options I have produce debugging symbols [-g] selected.
But when I insert a couple of breakpoints and re-build it then go to start debugging my project runs and completes ok, but I am unable to stop it at a breakpoint. Also the debugging window says no debugging symbols found
It also wont run to cursor either
Can some one pls help me
-
Remove the stripping option (-s).
See here for details: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
-
Sorry I forgot to mention that the strip option [-s] isn't selected. Also I am running codeblocks 10.05 on windows 7 and I am using the GNU GCC Compiler ::)
-
Please enable the full build log of the compiler and verify that the options are correct!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
-
;D ;D ;D ;D ;D Sorry I have just fixed it ;D ;D ;D ;D ;D
It seems that selecting project options from the menu bar is different from right clicking on your project and then navigating to build options that way. Because that is the way I selected those options but when I went through the menu bar and selected / project / build options I had the strip option and the optimize option selected.
My question now is why are those options not selected when I navigate to build options through right clicking on the project and navigating through properties to build options ???
-
You're wrong, the dialog/options are the same.
There is a tree on the left side of the dialog and you can select if you want to edit the target options or the project options.
Read the manual for details on the UI.
-
oops ;D I see
Thank you for your help and sorry for wasting your time ;)