Code::Blocks Forums

User forums => Help => Topic started by: cbuser2 on November 13, 2012, 12:49:03 am

Title: [solved] how to add gdb debugger in settings (Windows)
Post by: cbuser2 on November 13, 2012, 12:49:03 am
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.

(http://i538.photobucket.com/albums/ff349/pluckaduck2/codeblocks-1.png)
Title: Re: how to add gdb debugger in settings
Post by: oBFusCATed on November 13, 2012, 01:04:36 am
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.
Title: Re: how to add gdb debugger in settings
Post by: cbuser2 on November 13, 2012, 02:25:23 am
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