Debugger problem

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

Debugger problem

Post by jerryd » Wed Oct 26, 2016 5:38 am

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: 5898
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by eranif » Wed Oct 26, 2016 11:37 am

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: 11
Joined: Wed Oct 26, 2016 5:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by jerryd » Wed Oct 26, 2016 6:29 pm

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: 5898
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by eranif » Wed Oct 26, 2016 8:10 pm

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: 11
Joined: Wed Oct 26, 2016 5:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debugger problem

Post by jerryd » Thu Oct 27, 2016 2:46 am

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

JerryD

Post Reply