Debugger / LLDB

CodeLite installation/troubleshooting forum
Alib
CodeLite Curious
Posts: 1
Joined: Tue Jul 30, 2024 5:11 am
Genuine User: Yes
IDE Question: C++
Contact:

Debugger / LLDB

Post by Alib »

Hello there,

I am new to C++ and I am trying to learn coding with it in Codelite. I am having problems with the debugger. My system is a MacBook Pro 2019 with the latest version of macOS (14.5 (23F79)). I cannot run lldb in the Codelite application. Can you please help me with this?

sosofa
CodeLite Curious
Posts: 1
Joined: Fri Nov 15, 2024 1:39 pm
Genuine User: Yes
IDE Question: C++
Location: California

Re: Debugger / LLDB

Post by sosofa »

Ensure lldb is installed (xcode-select --install).
In CodeLite, go to Settings → Build Settings → Debugger Settings, and set the path to /usr/bin/lldb.
Add CodeLite to System Preferences → Security & Privacy → Privacy → Developer Tools.
Test LLDB in the terminal to confirm it works:

clang++ -g -o test test.cpp && lldb ./test

Thank you !

Post Reply