how to set a breakpoint in gdb code example Example: lldb set breakpoint function name (lldb) breakpoint set --name foo (lldb) breakpoint set -n foo