Page 1 of 1

Debugger problem

Posted: Wed Oct 26, 2016 5:38 am
by jerryd
CodeLite forum,

Downloaded CodeLite 9.2.5 in my windows 7 laptop for the first time.
I got a "Hello World" program running but when I try the debugger I
get the message "Failed to locate gdb! at 'gdb'. I don't recall
being asked about the debugger while it was installing. Maybe I
missed something.

Any suggestions?

JerryD

Re: Debugger problem

Posted: Wed Oct 26, 2016 11:37 am
by eranif
CodeLite does not install a compiler, nor debugger for you.
You need to install one, did you install it?

Re: Debugger problem

Posted: Wed Oct 26, 2016 6:29 pm
by jerryd
eranif,
Thanks for the reply.

I installed TDM-GCC-64 compile which contains GDB. I can find a path to
gdb and have entered in in CodeLite GDB Settings but then the error
message changes to: "Failed to find locate gdb! @ C:\TDM-GCC\ gdb64\bin"

JerryD

Re: Debugger problem

Posted: Wed Oct 26, 2016 8:10 pm
by eranif
You need to put the full path to gdb.exe, e.g:

C:/TDM-GCC-64/bin/gdb.exe


Eran

Re: Debugger problem

Posted: Thu Oct 27, 2016 2:46 am
by jerryd
eranif,
Thanks that worked. I'll probably be back again with questions about the debugger.

JerryD