How to handle 'can't locate gdb at 'gdb'!' on Mac

CodeLite installation/troubleshooting forum
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to handle 'can't locate gdb at 'gdb'!' on Mac

Post by eranif »

(posting on behalf of cryptocyborg)
I'm a a mac user new to CodeLite ... how can u help me get over the problem of "Failed to locate gdb! at 'gdb'"
Make sure you have gdb installed on your box (you should have it with XCode installation)

Eran
Make sure you have read the HOW TO POST thread
cryptocyborg
CodeLite Curious
Posts: 1
Joined: Mon Jul 16, 2012 6:30 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to handle 'can't locate gdb at 'gdb'!' on Mac

Post by cryptocyborg »

Oh, I see it's out here now. But I still do not have a solution thanks...
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to handle 'can't locate gdb at 'gdb'!' on Mac

Post by eranif »

what happens when you type 'gdb' from a Terminal?

Eran
Make sure you have read the HOW TO POST thread
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to handle 'can't locate gdb at 'gdb'!' on Mac

Post by LeetShiva »

Try to locate gdb in settings -> debugger settings and then write in debugger path /usr/bin/gdb or navigate to /usr/bin and select gdb :)
Post Reply