I'm currently learning the C language, using neovim as my editor and lldb for debugging. Here are some things I've picked up so far about debugging C code on a Mac:

Setting Breakpoints

Where you would normally do 'break main' to set a breakpoint, the most succinct way of doing this in lldb is 'b main'. (reference)


To launch lldb's GUI, type 'gui' and go forth (as compared with 'tui enable' in gdb.

smiley picture of shaven-head Zev

American programmer living in Switzerland. Constant learner, chess improver, speech-to-text. 🌼