反向调试为实验性功能,需要兼容的后端才能使用;Windows 平台有额外注意事项,需查看 wiki 中的 Windows notes;远程调试和嵌入式平台调试需按用户手册配置。
在 VSCode 扩展市场搜索并安装 CodeLLDB;或从 GitHub Releases 下载 .vsix 后执行 code --install-extension codelldb-*.vsixREADME 未说明显存或 GPU 要求;宿主机支持 Linux(glibc 2.18+,x86_64、aarch64、armhf)、macOS 10.12+(x86_64)和 11.0+(arm64)、Windows 10 和 11(x86_64);目标架构支持 AArch64、ARM、AVR、MSP430、RISCV、X86。
基于 LLDB 的 VSCode 原生代码调试扩展,让 C++ 和 Rust 在编辑器里断点调试
在 VSCode 里调试 C/C++、Rust 等原生代码的扩展,底层用 LLDB 做调试引擎,替代原生调试体验不佳的问题。
核心能力
- 支持条件断点、函数断点、日志点和硬件数据访问断点
- 提供反汇编视图和指令级单步调试
- 内置 C++ 和 Rust 标准库类型可视化器
- 支持内存视图、已加载模块视图和 Python 脚本
- 支持远程调试和实验性反向调试
容易踩的坑
- v1.12.3最新正式版2026-08-23 · 2026-08-23 23:40 UTC
这个版本没有写更新说明。
- v1.12.22026-04-21 · 2026-04-21 03:20 UTC
这个版本没有写更新说明。
- v1.12.12025-12-31 · 2025-12-31 03:13 UTC
这个版本没有写更新说明。
- v1.12.02025-12-01 · 2025-12-01 09:02 UTC
这个版本没有写更新说明。
- v1.11.82025-10-24 · 2025-10-24 06:38 UTC
这个版本没有写更新说明。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Features
- Conditional breakpoints, function breakpoints, logpoints,
- Hardware data access breakpoints (watchpoints),
- Launch debuggee in integrated or external terminal,
- Disassembly view with instruction-level stepping,
- Step Into Targets.
- Caller exclusion for breakpoints.
- Memory view.
- Loaded modules view,
- Python scripting,
- HTML rendering for advanced visualizations,
- Workspace-level defaults for launch configurations,
- Remote debugging,
- Reverse debugging (experimental, requires a compatible backend).
For full details please see User's Manual.
Languages
The primary focus of this project are the C++ and Rust languages, for which CodeLLDB includes built-in visualizers for vectors, strings, maps, and other standard library types. That said, it is usable with most other compiled languages whose compiler generates compatible debugging information, such as Ada, Fortran, Kotlin Native, Nim, Objective-C, Pascal, Swift and Zig.
Supported Platforms
Host
- Linux with glibc 2.18+ for x86_64, aarch64 or armhf.
- MacOS 10.12+ for x86_64 and 11.0+ for arm64.
- Windows 10 and 11 for x86_64. See Windows notes in wiki!
Target
CodeLLDB supports AArch64, ARM, AVR, MSP430, RISCV, X86 architectures and may be used to debug on embedded platforms via remote debugging.
More information
- CodeLLDB User's Manual - how to use this extension.
- Debugging in VS Code - if you are new to VSCode debugging.
- LLDB Tutorial - all of LLDB's CLI commands and scripting features may be used in CodeLLDB.
- Wiki pages - troubleshooting and other tips and tricks.
- Discussions - for questions and discussions.
Screenshots
C++ debugging with data visualization (Howto):
Rust debugging:
