Page 1 of 1

Debugger / LLDB

Posted: Tue Jul 30, 2024 5:14 am
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?


Re: Debugger / LLDB

Posted: Fri Nov 15, 2024 1:42 pm
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 !