LLDB(1) LLDB LLDB(1) (NAME) lldb - LLDB (SYNOPSIS) lldb [options] executable (DESCRIPTION) lldb . LLVM Clang LLVM . lldb Xcode macOS C Objective-C C++ iOS . LLDB Apache 2.0 LLVM . (ATTACHING) --attach-name . --attach-pid pid . -n --attach-name -p --attach-pid --wait-for pid . -w --wait-for --batch -s -S -o -O . -b --batch -K --source-on-crash -k --one-line-on-crash --local-lldbinit .lldbinit --no-lldbinit . --no-lldbinit '.lldbinit' . --one-line-before-file lldb . --one-line-on-crash (batch mode) lldb . --one-line lldb . -O --one-line-before-file -o --one-line -Q --source-quietly --source-before-file lldb . --source-on-crash lldb . --source-quietly (echo) . --source lldb . -S --source-before-file -s --source -x --no-lldbinit --arch . -a --arch --capture-path (reproducer) . --capture (reproducer) . --core core . -c --core --debug . -d --debug --editor " " . -e --editor --file . -f --file --help LLDB . -h --help --no-use-colors . --replay (reproducer) . --version LLDB . -v --version -X --no-use-color -r= --repl= --repl-language REPL . --repl= lldb REPL (stub) . -R --repl-language (SCRIPTING) -l --script-language --print-script-interpreter-info json . --python-path lldb.py lldb . -P --python-path --script-language . (EXAMPLES) . lldb . lldb - -- . lldb --arch x86_64 /path/to/program program argument -- --arch armv7 -- . lldb --arch x86_64 -- /path/to/program program argument --arch armv7 (attach) lldb . lldb -p lldb -n --repl lldb REPL . lldb -r --core lldb core . lldb -c /path/to/core lldb . lldb -O 'settings set stop-disassembly-count 20' -o 'run' -o 'bt' lldb -S /source/before/file -s /source/after/file lldb -K /source/before/crash -k /source/after/crash : REPL ( -o -s) ..SH " LLDB (USING LLDB)" lldb help lldb . "breakpoint set" "help breakpoint set" . apropos -- . "apropos breakpoint" "breakpoint" . (CONFIGURATION FILES) lldb .lldbinit . lldb init ~/.lldbinit "-" . lldb ~/.lldbinit-lldb Xcode ~/.lldbinit-Xcode . init lldb init . REPL REPL REPL . init : .lldbinit--repl ( .lldbinit-swift-repl). lldb REPL -- init REPL init --lldb ~/.lldbinit . .lldbinit . lldb (source) . target.load-cwd-lldbinit . .lldbinit ~/.lldbinit : settings set target.load-cwd-lldbinit true .lldbinit ~/.lldbinit : settings set target.load-cwd-lldbinit false (SEE ALSO) LLDB lldb -- gdb/lldb gdb . (AUTHORS) LLVM (COPYRIGHT) 2007-2026, The LLDB Team 22 June 21, 2026 LLDB(1)