A VS Code debugger for native code, powered by LLDB
open sourceMITfree
A VS Code debugger extension for compiled languages, built on LLDB. It focuses on C++ and Rust, with built-in visualizers for their standard library types (vectors, strings, maps), and works with other languages whose compilers emit compatible debug information, such as Ada, Fortran, Nim, Objective-C, Swift and Zig. It has conditional and function breakpoints, logpoints, hardware watchpoints, a disassembly view with instruction-level stepping, memory and loaded modules views, Python scripting, HTML rendering for custom visualizations, remote debugging and experimental reverse debugging, and every LLDB command can be used in it. It runs on Linux, macOS and Windows and can debug AArch64, ARM, AVR, MSP430, RISC-V and x86 targets. MIT licensed.
Problems it solves
- debug my Rust program in VS Code with breakpoints
- step through a C++ binary in VS Code on macOS
- see the contents of Rust vectors and strings while debugging
Features
- conditional and function breakpoints, logpoints and hardware watchpoints
- disassembly view with instruction-level stepping
- visualizers for C++ and Rust standard library types
- Python scripting and HTML visualizations
- remote debugging, including embedded targets
- reverse debugging (experimental)
Limitations
Alternatives
The same job
These do what CodeLLDB does.
- Debugger for Java Microsoft's Java debugger for VS Code
- Python Debugger Python debugging with debugpy for Visual Studio Code
- js-debug Microsoft's JavaScript debugger for Node.js and browsers, built into VS Code and available as a DAP server
- Xdebug Debugger and profiler tool for PHP