I click Debug/Start to run debugger but breakpoints not stopping.
I am trying to debug C (not C++).
Project/Build Options/Debug has checked:
Enable all compiler warnings
Produce Debugging symbols.
I read I need to pass "cc -g -c".
Windows 10, patches up thru 2018.02 applied
Using codeblocks 17.12
Under C::B settings/debugger, catch c++ extensions is NOT checked.
Some Debug log info:
******
C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gdb.exe -nx -fullname -quiet -args C:/Users/.../DAVES_~1/LEARNI~1/bin/Release/LEARNI~1.EXE
****** current debug code
[debug]GNU gdb (GDB) 8.0.1
[debug]Copyright (C) 2017 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
...
[debug]This GDB was configured as "x86_64-w64-mingw32".
****** Debugger working
[Inferior 1 (process 6348) exited normally]
[debug]> quit
Debugger finished with status 0
[debug]DebuggerGDB::EnableBreakpoint(running=0);
[debug]DebuggerGDB::EnableBreakpoint(running=0);
****** Debugger sees beakpoints
[debug]No symbol table is loaded. Use the "file" command.
[debug]Breakpoint 1 ("C:/Users/.../HelloWorld.c:27") pending.
[debug]>>>>>>cb_gdb:
[debug]> break "C:/Users/...S/HelloWorld.c:7"
[debug]No symbol table is loaded. Use the "file" command.
****** Referneces I looked at
I have reviewed
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips.
I downloaded gdb-8.1.tar and unpacked it with 7-zip but can not find bdg.exe file.
******
Any ideas???