EVERYTHING XIAOMI
Get listed
Side by side

GDB vs LLDB

GDB logo

GDB

6.2#10 in debuggersFree plan
Free planLinuxmacOSWindows
Visit

LLDB

7.3#1 in debuggersFree plan
Free planAndroidiOSLinuxmacOS
Visit

What both publish

FactGDBLLDB
LanguagesGDB supports Ada, Assembly, C, C++, D, Fortran, Go, Objective-C, OpenCL, Modula-2, Pascal, and Rust.LLDB supports debugging C, Objective-C, and C++ on desktop and iOS devices and simulators.
LicenseGDB is free software protected by the GNU General Public License, which permits copying, adapting, and redistributing copies with source access.The LLDB project code is available under the Apache 2.0 License with LLVM exceptions.
PurposeGDB lets users inspect what another program is doing while it executes or after it crashes.LLDB is a high-performance debugger built from reusable components that use LLVM libraries such as the Clang expression parser and LLVM disassembler.
Remote debuggingThe gdbserver control program connects programs to a remote GDB through target remote or target extended-remote.LLDB documents remote debugging for platforms including Linux, Windows, Android, and iOS.

GDB plans

  • GDBFree

LLDB plans

  • LLDBFree

Pick GDB if…

GDB suits developers and others who need to inspect program execution or diagnose crashes across supported languages and targets. Its remote, simulator, and record-and-replay options may be useful for workflows that need those debugging modes.

Pick LLDB if…

LLDB suits developers working with C-family languages who need desktop, iOS, or remote debugging. Its API and Python bindings may also suit developers building scripting or inspection workflows.

Charts they share