LLDB

Open Source

by LLDB

Provided by LLDB

Not yet rated
Platform
Windows / Linux / macOS
Pricing
Open Source
Account required
No
Ads
None
Last verified
9 hours ago
Developer
LLDB
Official URL

Overview

LLDB is the debugger of the LLVM project. It is built as a set of reusable components that lean on other LLVM parts, such as the Clang expression parser and the LLVM disassembler, and it is released under the Apache 2.0 licence with LLVM exceptions. It is the default debugger in Xcode on macOS.

It debugs C, C++ and Objective-C programs on desktop systems and on iOS devices and simulators. Because expressions are handled by Clang itself, you can type real C++ or Objective-C++ at the prompt, spread an expression over several lines, and declare local variables and types. Expressions are compiled with a JIT where the platform supports it. The same engine converts debug information into Clang types, so the debugger and the compiler agree on how the program is laid out.

LLDB is used from the lldb command-line tool or through its public API, a C++ library that is also exposed to Python. The Python bindings work in the embedded interpreter and in standalone scripts, and can be used for symbolication, disassembly and inspecting object files. It runs on macOS, Linux, FreeBSD and NetBSD, and Windows support is under active development.

Features

  • Debugs C, C++ and Objective-C programs
  • Expression evaluation through the Clang parser, including multi-line expressions
  • JIT compilation of expressions where supported
  • Python scripting through bindings to the public API
  • C++ API shipped as a shared library or framework
  • Command-line lldb tool
  • Debugging on iOS, tvOS and watchOS devices and simulators
  • User-space debugging on Linux, FreeBSD, NetBSD and Windows

Privacy

See the official privacy policy. LLDB is a locally run open-source program.

Pros & Cons

Pros

  • Free and open source under Apache 2.0 with LLVM exceptions
  • Default debugger in Xcode, so it is already installed for Mac developers
  • Uses the compiler's own parser, so expressions follow real language rules
  • Scriptable from Python, inside the debugger or from separate scripts
  • Runs on a range of processor architectures

Cons

  • Windows support is still being developed, with ARM builds more experimental
  • Command-line use has a learning curve
  • RISC-V, LoongArch and WebAssembly support is still in development

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • Debuggers · HTTP Toolkit

    Intercepts, debugs, and mocks HTTP(S) traffic.

    Not yet rated
    Freemium Windows Linux
  • Debugs and inspects web pages directly in the browser.

    Not yet rated
    Free Windows Linux
  • Debuggers · Xdebug

    Debugs and profiles PHP code.

    Not yet rated
    Open Source Web