macOSLinux

Where Does LLDB Store Settings?

Where LLDB keeps settings on macOS and computers, plus init file roles. Full paths are listed below.

Last updated

LLDB is LLVM debugging with file init. Your aliases and formatters live in the lldbinit file at home. Sessions hold breakpoints only while running.

Same init file means same setup anywhere LLVM runs. Exact binding names shift with Xcode releases. Keep the file in dotfiles repos rather than cloning whole folders. For moves, copy the single file. Partial setups miss data formatters that sessions depend on. When in doubt, verify paths inside the app before trusting a remembered folder. Screenshots of settings help when support asks for reproduction steps later.

Where LLDB Debugger stores this, by platform

macOS
~/.lldbinit (aliases, formatters beside it)

Aliases live in the init file at home. Copy it for moves. Match Xcode releases for Python bindings. Keep it in dotfiles version control.

Linux
~/.lldbinit (aliases, formatters beside it)

Same init model on Linux under the home directory. Sessions hold breakpoints while running only. Script repeating setups in Python files.

Frequently asked questions

How do I move LLDB settings to a new computer?

Copy the lldbinit file from home to the new machine over USB. Breakpoints live per session unless scripted. Match the Xcode release first, since Python bindings shift between versions and break old scripts.

Does LLDB back up command history?

Yes, in the init file in home with aliases attached. The install holds a working copy plus formatters. Views rebuild after import. Keep the init file in dotfiles version control for records across machines.

Notice an outdated path? Let us know.