News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

I cant get code blocks to stop on break points

Started by stew79, June 24, 2012, 12:46:08 PM

Previous topic - Next topic

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

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stew79

oops  ;D I see
Thank you for your help and sorry for wasting your time    ;)