LLDB vs Ruby debug
LLDB
lldb.llvm.orgRuby debug
github.comSide by side
| Figure | LLDB | Ruby debug |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| iOS | Yes | — |
| Android | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Debuggers | 8.6 (#2) | 7.3 (#20) |
| Purpose | LLDB is a high-performance debugger built from reusable components that use LLVM libraries such as the Clang expression parser and LLVM disassembler. | The library provides debugging functionality for Ruby (MRI) 2.7 and later. |
| Remote debugging | LLDB documents remote debugging for platforms including Linux, Windows, Android, and iOS. | It supports remote debugging over UNIX domain sockets or TCP/IP, with a console that can attach to a running debuggee. |
Plans
In their own words
LLDB
LLDB is a free debugger built from reusable components that use LLVM libraries, including Clang's expression parser and the LLVM disassembler. It is the default debugger in Xcode on macOS and supports debugging C, C++, and Objective-C on desktop and iOS devices and simulators. Its tools include breakpoints, watchpoints, process launching, and attaching to programs; remote debugging is also documented for Linux, Windows, Android, and iOS. Expression evaluation uses Clang infrastructure for current C-family language features, multiline expressions, and just-in-time evaluation where supported. Developers can use its shared-library C++ API and Python bindings for scripting, symbolication, disassembly, and inspecting object and symbol files. The lldb-dap adapter connects LLDB functionality to compatible editors and IDEs, including Visual Studio Code, Emacs, vim, and neovim. LLDB is available under the Apache 2.0 License with LLVM exceptions. Windows support remains under active development, with ARM and AArch64 described as more experimental. The lldb-dap interface documents no support for step-back, setting a variable, goto-target, or terminate requests.
Ruby debug
Ruby debug is a free, BSD-2-Clause open-source debugger for Ruby MRI 2.7 and later, delivered for Linux and self-hosted use. Its console evaluates Ruby expressions, inspects program state, controls execution, sets conditional and exception breakpoints, and enables tracing. The debugger can record execution and replay it by stepping backward through the log. Remote sessions work over UNIX domain sockets or TCP/IP, allowing a console to attach to a running program. An IRB console adds autocompletion, multiline input, and commands including `show_source` and `show_doc`. The `rdbg` command launches Ruby scripts and commands such as Rails, Rake, and RSpec under debugging. Frontends are described for VS Code and Chrome DevTools; VS Code requires the vscode-rdbg extension. Installation uses `gem install debug` or a Gemfile entry. The project reports no performance penalty when not stepping and with no breakpoints set. It warns that remote messages are unencrypted and that `debug/open_nonstop` can expose access without stopping the program.