"failed to locate gdb" for CL v6.1.1

CodeLite installation/troubleshooting forum
vontetzel
CodeLite Curious
Posts: 2
Joined: Tue Mar 10, 2015 11:05 pm
Genuine User: Yes
IDE Question: C++
Contact:

"failed to locate gdb" for CL v6.1.1

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
vontetzel
CodeLite Curious
Posts: 2
Joined: Tue Mar 10, 2015 11:05 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by vontetzel »

Awesome! Thanks so much!
Post Reply