Author Topic: [solved] how to add gdb debugger in settings (Windows)  (Read 2405 times)

Offline cbuser2

  • Multiple posting newcomer
  • *
  • Posts: 33
[solved] how to add gdb debugger in settings (Windows)
« 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.

« Last Edit: November 13, 2012, 02:26:47 am by cbuser2 »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13153
    • Travis build status
Re: how to add gdb debugger in settings
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cbuser2

  • Multiple posting newcomer
  • *
  • Posts: 33
Re: how to add gdb debugger in settings
« Reply #2 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