Debugger problem

General questions regarding the usage of CodeLite
jerryd
CodeLite Enthusiast
Posts: 15
Joined: Wed Oct 26, 2016 5:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Debugger problem

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by eranif »

CodeLite does not install a compiler, nor debugger for you.
You need to install one, did you install it?
Make sure you have read the HOW TO POST thread
jerryd
CodeLite Enthusiast
Posts: 15
Joined: Wed Oct 26, 2016 5:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by eranif »

You need to put the full path to gdb.exe, e.g:

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


Eran
Make sure you have read the HOW TO POST thread
jerryd
CodeLite Enthusiast
Posts: 15
Joined: Wed Oct 26, 2016 5:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by jerryd »

eranif,
Thanks that worked. I'll probably be back again with questions about the debugger.

JerryD
Post Reply