Page 1 of 1
Codelite fails to locate' gdb'
Posted: Tue Sep 25, 2012 7:17 pm
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
Re: Codelite fails to locate' gdb'
Posted: Tue Sep 25, 2012 7:41 pm
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
Re: Codelite fails to locate' gdb'
Posted: Tue Sep 25, 2012 9:04 pm
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 !