paulgorman.org/technical

The lldb Debugger

(2020)

Compile a binary with debugging information:

🐚 $ clang -O2 -Wall -Wextra -pedantic hello.c -o hello -gfull

Run the binary in the lldb debugger:

🐚 $ lldb ./hello

Set break point.

Watch.