Page 1 of 1

"failed to locate gdb" for CL v6.1.1

Posted: Tue Mar 10, 2015 11:59 pm
by vontetzel
I am currently taking an intro to programming class and we use codelite 6.1.1 for C programming. Once we got to the debugging part of the class and tried to debug a program it gave me an error "Failed to locate gdb! at 'gdb'". I tried looking for answers online. Our instructor wants us to use version 6.1.1 instead of 7 due to the sample programs he runs for the class. Can you please advise how to get the debugger to locate gdb?
I am running a MAC OS X.
Thank you very much!

Re: "failed to locate gdb" for CL v6.1.1

Posted: Wed Mar 11, 2015 12:11 am
by eranif
For OSX, you should be using LLDB and not GDB.
In your project settings, go to: Common Settings->General->Debugger and select "LLDB debugger" from the drop down list
gdb is not supported by Apple

Eran

Re: "failed to locate gdb" for CL v6.1.1

Posted: Wed Mar 11, 2015 1:25 am
by vontetzel
Awesome! Thanks so much!