LLDB
lldb.llvm.org
- Free plan
- Windows
- macOS
- Linux
- iPhone and iPad
- Android
What LLDB is
LLDB is a debugger for C, C++, Objective-C, and Objective-C++ programs on desktop and iOS devices or simulators. It is the default debugger in Xcode on macOS and includes breakpoints, watchpoints, process launching, and attaching to running programs. LLDB uses Clang components to evaluate current language features, including multiline expressions and just-in-time evaluation where supported. Its shared-library C++ API and Python bindings let developers build scripting and related workflows such as symbolication, disassembly, and object or symbol-file inspection. For compatible editors and IDEs, lldb-dap makes debugger functions available through the Debug Adapter Protocol. Its documented functions include several breakpoint types, memory access, and disassembly requests. LLDB also supports remote debugging across systems including Linux, Windows, Android, and iOS. The project is free, and its code uses the Apache 2.0 License with LLVM exceptions. Windows support remains under active development, with ARM and AArch64 support described as more experimental.
Who it suits
LLDB suits developers debugging C-family software, especially those using Xcode or compatible editors and IDEs. Its API and Python bindings may also suit developers building scripting, symbolication, or disassembly workflows.
Good to know, and what to watch
- Default debugger in Xcode on macOS
- Supports breakpoints, watchpoints, launching, and attaching
- C++ API and Python bindings are available
- Remote debugging includes Linux, Windows, Android, and iOS
- Windows support is under active development
- ARM and AArch64 support is more experimental
- lldb-dap lacks step-back and variable-setting requests
Plans
Every plan and priceLLDB
Free plan
Getting started
- Get LLDB through an LLVM release package, a toolchain or a system package manager, or build it from source.
- Use LLDB directly or access it as the default debugger in Xcode on macOS.
- For compatible editors and IDEs, obtain the lldb-dap binary from a toolchain, release package, package manager or source build.
- Connect to a program by launching it, attaching to it or using remote debugging.
The Club's review
Overview
LLDB is an open-source debugger built around LLVM components, suited to developers working in C-family languages and teams that need debugger access through APIs or compatible editors. Its strongest fit is Xcode and desktop or mobile debugging; Windows support is still developing, and its editor adapter has defined gaps.
It supports breakpoints, watchpoints, process launch and attachment, with C, C++, and Objective-C debugging on desktop and iOS devices and simulators. LLDB is Xcode’s default debugger on macOS. The project code is available under the Apache 2.0 License with LLVM exceptions.
Key features
Expression evaluation and debugging controls
LLDB uses Clang infrastructure to evaluate current C, C++, Objective-C, and Objective-C++ expressions. Multiline expressions and just-in-time evaluation are supported where the context permits them, which makes it useful for inspecting program state without limiting evaluation to a single simple expression. It supports conditional and exception breakpoints, watchpoints, and core-dump debugging; it does not provide time-travel debugging.
API, scripting, and integration
A public object-oriented C++ API is exposed through a shared library, with Python bindings for scripting. The API also supports symbolication, disassembly, and inspection of object and symbol files, so LLDB can serve tooling beyond an interactive debugging session. Documentation also describes an integration using the Model Context Protocol.
For compatible editors and IDEs, lldb-dap exposes LLDB through the Debug Adapter Protocol, including for Visual Studio Code, Emacs, vim, and neovim. It documents function, conditional, data, and instruction breakpoints, memory reads and writes, and disassembly requests. The trade-off is that it does not support step-back, setting a variable, goto-target, or terminate requests. The adapter can come from a toolchain, LLVM release package, system package manager, or source build.
Remote debugging and security
LLDB documents remote debugging for Linux, Windows, Android, and iOS. It also avoids sourcing a current-directory .lldbinit file by default for security reasons, reducing the risk of automatically running an untrusted local configuration.
Pricing
LLDB is free: its plan costs nothing and is open source. There is no free trial because the free plan is the offering; no paid tier or seat-based charge is described. That makes it a practical option for individuals and teams that can work with its supported targets and build or package the debugger as needed.
Platforms
The project lists macOS, Linux, FreeBSD, NetBSD, and Windows support, and the plan includes iOS, tvOS, watchOS, and Android targets. LLDB supports C, C++, Objective-C, and Objective-C++ languages. Windows is under active development: basic functionality is expected to work, while ARM and AArch64 support is more experimental. Buyers relying on those Windows configurations should weigh that maturity against their requirements.
LLDB can be obtained through an LLVM release package, a toolchain, or a system package manager, or built from source. The documentation directs users to its forum or LLVM Discord for discussion and links to bug reports and code reviews.
Who it's for
LLDB is a strong choice for developers using Xcode, C-family language teams needing native debugging across desktop and Apple mobile targets, and organizations building their own debugger workflows around its C++ API or Python bindings. Its remote debugging and symbol or object-file inspection capabilities also suit teams that need more than local breakpoint-driven sessions.
It is less suitable when time-travel debugging is essential, or when an editor workflow depends on lldb-dap features such as changing a variable or stepping backward. Windows users working with ARM or AArch64 should be especially cautious because those configurations are described as experimental.
Pros and cons
- Pros: Free and open source under the Apache 2.0 License with LLVM exceptions, with no paid plan or trial hurdle.
- Pros: Broad debugging controls, conditional and exception breakpoints, and core-dump debugging cover common native debugging needs.
- Pros: C++ API and Python bindings extend LLDB into scripting, symbolication, disassembly, and file inspection.
- Cons: No time-travel debugging, which rules it out for workflows that need to replay execution backward.
- Cons: lldb-dap lacks step-back, variable-setting, goto-target, and terminate requests, limiting some editor-based workflows.
- Cons: Windows support remains in development, with ARM and AArch64 support more experimental.
Alternatives
GDB is another free debugger for Linux, macOS, and Windows; consider it when those platforms and its GNU GPL source availability better fit your requirements.
FlowStorm is a free, open-source option for Linux, macOS, Windows, and self-hosted use; choose it when that platform set suits your environment better.
IDA Pro offers a free tier for x86-32 and x86-64 disassembly with two cloud-based decompilers, plus a paid Pro Essential plan at $1,099. Choose it when those disassembly and decompiler capabilities are your priority.
RenderDoc is a free, MIT-licensed option for Android, Linux, and Windows; consider it when that platform and licensing combination is a better match.
UDB is a paid alternative with a trial and a Land and Prove Program priced at $50,000, paid once, including six months of unlimited development access. Consider it if that program is a fit for your debugging needs.
Xdebug offers a freemium option across Linux, macOS, Windows, web, and self-hosted platforms. Consider it when that platform range better matches your deployment.
Delve is a free alternative for Linux, macOS, Windows, and self-hosted use.
SEGGER Ozone is a paid alternative for Linux, macOS, and Windows.
For more options, browse Debuggers.
Verdict
Choose LLDB if you need a capable, free native debugger for C-family development, particularly with Xcode, and value its APIs or editor integration options. Look elsewhere if your workflow requires time-travel debugging, lldb-dap’s unsupported requests, or mature Windows ARM and AArch64 support.
The verdict
LLDB combines core debugging tools with API and editor integration options. Check platform support and lldb-dap's documented limits against your workflow before choosing it.
Questions people ask
Does LLDB cost anything?
No. LLDB is free and open source under the Apache 2.0 License with LLVM exceptions.
Which languages can LLDB debug?
LLDB supports C, C++, and Objective-C debugging on desktop and iOS devices and simulators. Its expression evaluation also handles Objective-C++ features.
Which platforms does LLDB support?
The project lists macOS, Linux, FreeBSD, NetBSD and Windows support, and documents targets including iOS, tvOS, watchOS and Android. Windows support is under active development, with ARM and AArch64 support more experimental.
Does LLDB work with editors beyond Xcode?
Yes. The lldb-dap adapter exposes LLDB functionality through the Debug Adapter Protocol for compatible editors and IDEs, including Visual Studio Code, Emacs, vim and neovim.
Does LLDB support time-travel debugging?
No. Time-travel debugging is not supported.
What the maker publishes
- Acquiring lldb-dap
- The lldb-dap binary can come from a toolchain, an LLVM release package or system package manager, or a source build. source
- Additional uses
- The LLDB API can also be used for symbolication, disassembly, and object and symbol file introspection. source
- API and scripting
- LLDB exposes a public C++ API through a shared library and Python script bindings, enabling scripting and uses such as symbolication and disassembly. source
- Debug features
- lldb-dap documents support for function, conditional, data, and instruction breakpoints, memory read/write, and disassembly requests. source
- Debugging tools
- LLDB supports breakpoints, watchpoints, process launching, and attaching to programs. source
- Expression evaluation
- LLDB uses Clang infrastructure to evaluate current C, C++, Objective-C, and Objective-C++ language features, including multiline expressions and JIT evaluation where supported. source
- Expression evaluation
- LLDB supports multiline expressions, can use a JIT when available, and can evaluate expression IR when the JIT cannot be used. source
- Getting the debugger
- The lldb-dap binary can be obtained from an LLVM release package, a toolchain or package manager, or by building from source. source
- IDE integration
- lldb-dap exposes LLDB functionality through the Debug Adapter Protocol for compatible editors and IDEs, including Visual Studio Code, Emacs, vim, and neovim. source
- IDE integration
- The lldb-dap component exposes LLDB through the Debug Adapter Protocol for editors and IDEs that support DAP, including Visual Studio Code, Emacs, Vim, and Neovim. source
- Languages
- LLDB supports debugging C, Objective-C, and C++ on desktop and iOS devices and simulators. source
- Language support
- LLDB supports debugging C, Objective-C, and C++ on desktop and iOS devices and simulators. source
- License
- The LLDB project code is available under the Apache 2.0 License with LLVM exceptions. source
- License
- The LLDB project code is available under the Apache 2.0 License with LLVM exceptions. source
- Notable limits
- lldb-dap documents no support for step-back, setting a variable, goto-target requests, or terminate requests. source
- Other integration
- LLDB documentation describes an integration using the Model Context Protocol. source
- Platforms
- The documentation lists macOS, iOS/tvOS/watchOS simulators and devices, Linux, FreeBSD, NetBSD, and Windows among platforms known to work. source
- Platform support
- The project lists macOS, Linux, FreeBSD, NetBSD, and Windows support; it says Windows support is under active development and ARM and AArch64 support is more experimental. source
- Purpose
- LLDB is a next generation, high-performance debugger built from reusable components that use LLVM libraries such as the Clang expression parser and LLVM disassembler. source
- Purpose
- LLDB is a high-performance debugger built from reusable components that use LLVM libraries such as the Clang expression parser and LLVM disassembler. source
- Remote debugging
- LLDB documents remote debugging for platforms including Linux, Windows, Android, and iOS. source
- Reusable API
- LLDB exposes a public object-oriented C++ API through a shared library, with Python bindings also available. source
- Security
- For security reasons, LLDB warns and does not source a current-directory .lldbinit file by default. source
- Support and community
- The LLDB documentation directs discussions to its forum or LLVM Discord and links to bug reports and code reviews. source
Checked against the maker's pages on 30 Sept 2026.