- Debugging on Linux (x86 or Arm), MacOS (x86 or Arm) and Windows* (x86 only),
- Conditional breakpoints, function breakpoints, data breakpoints, logpoints,
- Launch debuggee in integrated or external terminal,
- Disassembly view with instruction-level stepping,
- Loaded modules view,
- Python scripting,
- HTML rendering for advanced visualizations,
- Rust language support with built-in visualizars for vectors, strings and other standard types,
- Global and workspace defaults for launch configurations,
- Remote debugging,
- Reverse debugging (experimental, requires compatible backend).
For full details please see the User's Manual.
* For a good debugging experience on Windows, please use x86_64-pc-windows-gnu
compilation target.
MS PDB debug info support is limited, especially for Rust binaries. More info.
- Linux with glibc 2.18+ (e.g. Debian 8, Ubuntu 14.04, Centos 8) for x86_64, aarch64 or armhf architecture,
- MacOS X 10.10+ for x86_64 and 11.0+ for arm64 architecture,
- Windows 10 for x86_64 architecture.
Here's a minimal debug configuration to get you started:
{
"name": "Launch",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/<my program>",
"args": ["-arg1", "-arg2"],
}
- Debugging in VS Code - if you are new to VSCode debugging.
- CodeLLDB User's Manual - how to use this extension.
- LLDB Homepage - all of LLDB's CLI commands and scripting features can be used too.
- Wiki pages - troubleshooting and other tips and tricks.
- Discussions - for questions and discussion.
C++ debugging with data visualization (Howto):
Rust debugging: