-g -s flags
You made sure the -g flag was set, correct?
You made sure the -s flag was *not* set, correct?
Edit: What compiler was used to build your project? 64 bit or 32 bit?
What debugger are you trying to use to debug your project? 64 bit or 32 bit?
Edit2: What code::blocks version? Is it 32 bit or 64 bit?
Code::Blocks nightly are 64 bit; otherwise the windows builds are 32 bit.
Tim S.