Debugging with Code::Blocks - CodeBlocks
Build debug version of your project Make sure that the project is compiled with the -g (debugging symbols) compiler option on, and the -s (strip symbols) option off. This ensures that the executable has debug symbols included. Compiler optimization switch...