'How to get debugger (LLDB) to work in Codelite. (Mac)

I had this issue from the beginning when i got Codelite. I could not debug from the start. I use Codelite 12.0

Failed to locate gdb! at 'gdb'

it says when i,m trying to debug. I was searching for a solution and the ordinary tip is to use the LLDB debuger for Mac OS. In the project settings you can choose debugger but i cant see any other option than gdb and as i understand you should be able to choose LLDB debugger there.

How do i get the debugger to work? I really need it to solve some issues with some code..



Solution 1:[1]

Under Settings-> General -> Debugger change 'GDB debugger' to 'LLDB Debugger'. I guess it's a bug that this is not adapted to the mac environment.

Solution 2:[2]

They are no option for lldb in the debugger section with codelite for my mac big sur.

Only option available is gdb

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Lieven
Solution 2 Vincent