User forums > Help

[solved] how to add gdb debugger in settings (Windows)

(1/1)

cbuser2:
Hi all. I am using Windows 7 64-bit.

I've unzipped the 12.11 nightly, and wxmsw28u_gcc_cb_wx2812_gcc471-TDM.7z into the same directory. I already have mingw installed. Code blocks compiles and runs programs fine, but when I try to debug, I get the below error message. I can't find gdb.exe on my machine, so can't add it to the debugger executable path. How can I set up gdb to be the debugger?

Thanks in advance.

oBFusCATed:
You have to install gdb separately, because I don't think it is provided with TDM. Search the MinGW site for the latest version of GDB.

cbuser2:
Thanks for the reply.

I'd never heard of TDM before, but a google search lead me to: http://tdm-gcc.tdragon.net/

I downloaded TDM-GCC(32-bit for Windows(64 bit is experimental), and the debugger works now. :D

Navigation

[0] Message Index

Go to full version