User forums > Using Code::Blocks

Can't Get Debugger to Work

<< < (2/2)

blauzahn:
Please try to start the debugger directly from the commandline.

Wkerry:
Watch as JoeH is mixing compilers and debuggers as:

1) Path has C:\Program Files\CodeBlocks\MinGW\bin
2) Command line has C:\TDM-GCC-64\bin\gdb64.exe

I wonder if the MinGW compiler is 32 bit and the debugger is 64bit.

darrenpollard:
Selecting the Debug build target alone is not enough. Make sure GDB is installed and correctly configured in Settings → Debugger, and that it matches the compiler toolchain (e.g. MinGW). Also verify that the Debug build includes debug symbols (-g) and no optimization. When debugging, use Debug → Start/Continue, and check the Build log if Code::Blocks tries to rebuild and fails.

Miguel Gimenez:
Profile spammer reported to moderator.

Navigation

[0] Message Index

[*] Previous page

Go to full version