
GDB
6.2#10 in debuggersFree planFree planLinuxmacOSWindows
Visit
| Fact | GDB | LLDB |
|---|---|---|
| Languages | GDB 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. |
| License | GDB 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. |
| Purpose | GDB 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 debugging | The 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 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.
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.