I am trying to debug C++ project in Codeblocks, but it's not stopping at breakpoints. I read the other answers and have tried the following things so far:
- (
Build Options > Compiler Settings)Produce debugging symbolsis checked,strip all symbolsis unchecked. - No spaces/non-ascii values in my file path.
- Running the debug version.
- Debugger in (
Settings > Compiler > Toolchain Executables) set toGDB/CDB Debugger:Default - Executable path in (
Settings > Debugger > GDB/CDB Debugger:Default) isC:\MinGW\bin\gdb.exe.
Its still not stopping at breakpoints and the debugger log is mentioning that no debugging symbols found What am I missing here ?