Hi,
I have a console application in CB. Yesterday I switch to compile my code with gcc and debug with gdb in terminal emulator. After that, I switched back to CB. Now no matter how I clean and rebuild with -g, I cannot actually debug, e.g., stop at breakpoints.
I got the info "Cleaned "\'absurdity_under_CodeBlocks - Release' Done" when clean, and it does not mention to clean other object files and Debug directory. The executable in Debug remain the previous one. When debug, I got "No symbol table is loaded. Use the 'file' command. (no debugging symbols found)". By google, this usually happens when -g is missing during compilation. However I do check Project->Build Options->Compiler Settings->Compiler Flags->Produce Debug Symbols(-g) for both myprojectname "absurdity_under_CodeBlocks" and "Debug" on the left panel in the Project Build Options dialog.
I am not sure my problem is related to me also building my project using gcc and debugging with gdb in terminal. However I did as such before and everything was fine then.
Thanks for your help!