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!
"failed to locate gdb" for CL v6.1.1
-
- 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
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- 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
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
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
-
- 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
Awesome! Thanks so much!