Codelite fails to locate' gdb'

General questions regarding the usage of CodeLite
kam
CodeLite Curious
Posts: 5
Joined: Fri Sep 21, 2012 2:46 am
Genuine User: Yes
IDE Question: C++
Contact:

Codelite fails to locate' gdb'

Post by kam »

Having had to recently reinstall Lion OSX I'm having problems debugging programs that previously could be debugged OK. The message I'm now getting is: 'Codelite Failed to locate gdb! at 'gdb'. Can anybody assist with a suggestion as to how to sort this out? I've tried reinstalling Codelite but this didn't solve the issue. Any suggestions would be welcome... Thx
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Codelite fails to locate' gdb'

Post by Jarod42 »

For 'global settings'
Check in Settings... -> Debugger Settings...
Check if gdb if in your PATH (if your path is empty)

gdb path may be overwritten per project settings:
Check in your project setting :
Common settings : Debugger
kam
CodeLite Curious
Posts: 5
Joined: Fri Sep 21, 2012 2:46 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite fails to locate' gdb'

Post by kam »

Hi Jarrod42

Thx for Ur reply. I solved the problem by reinstalling Apple Command Line Tools. Clearly these do not come as standard with the Lion OS ! :)
Post Reply