User forums > Help

I cant get code blocks to stop on break points

(1/2) > >>

stew79:
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

oBFusCATed:
Remove the stripping option (-s).
See here for details: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

stew79:
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 ::)

oBFusCATed:
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

stew79:
 ;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  ???

Navigation

[0] Message Index

[#] Next page

Go to full version