Segmentation fault tracking bug

Code::Blocks (which i'm pretty sure uses dbg ) doesn't track the place of the segmentation fault properly . When I type "where" or "backtrace" in the debugger it gives out some addresses but the stack ends with " In ?? () ()" - as I figured "In *unknown file* *unkn. func* *unkn. line*" or whatever - the information's missing .
It is my first time using the debugger but that's fairly simple , am I doing it right ?(I start program with debugger,have the "add -g flags" checked in the build options)

Edit: I just saw that the debugger says "No debugging symbols found " thow I've set them in the build options . So that's probobly for the Code::Blocks forum but still - if you guys have suggestions..

Aaand solved: If you have too many -g flags that's also a problem . I'd set them in project AND release (and at one point in global compiler/debugger settings too) . So the command line was : ... -g -g -g... :D . When I left the -g flag checked only in the Release everything whent ok .

I'm not deleting the post just because it could be helpful for someone.
Last edited on
Make sure Code::Blocks isn't trying to start the Release executable when using the debugger. If it does, change the target back to Release and to Debug again.
This is a very old and very annoying bug in Code::Blocks.
Topic archived. No new replies allowed.