codelldb

vadimcnMIT活跃维护

在 VSCode 里调试 C/C++、Rust 等原生代码的扩展,底层用 LLDB 做调试引擎,替代原生调试体验不佳的问题。

A VSCode debugger extension for native code, powered by LLDB.

v1.12.3发布于 2026-08-23 23:40 UTC3,323star +2 / 7 天307fork同步于 2026-11-10 11:41 UTC

怎么上手

由 README 提炼,执行前请确认
在 VSCode 扩展市场搜索并安装 CodeLLDB;或从 GitHub Releases 下载 .vsix 后执行 code --install-extension codelldb-*.vsix
硬件要求按 README 说明

README 未说明显存或 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。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

基于 LLDB 的 VSCode 原生代码调试扩展,让 C++ 和 Rust 在编辑器里断点调试

在 VSCode 里调试 C/C++、Rust 等原生代码的扩展,底层用 LLDB 做调试引擎,替代原生调试体验不佳的问题。

核心能力

  • 支持条件断点、函数断点、日志点和硬件数据访问断点
  • 提供反汇编视图和指令级单步调试
  • 内置 C++ 和 Rust 标准库类型可视化器
  • 支持内存视图、已加载模块视图和 Python 脚本
  • 支持远程调试和实验性反向调试

容易踩的坑

反向调试为实验性功能,需要兼容的后端才能使用;Windows 平台有额外注意事项,需查看 wiki 中的 Windows notes;远程调试和嵌入式平台调试需按用户手册配置。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v1.12.3
  1. v1.12.3最新正式版2026-08-23 · 2026-08-23 23:40 UTC

    这个版本没有写更新说明。

  2. v1.12.22026-04-21 · 2026-04-21 03:20 UTC

    这个版本没有写更新说明。

  3. v1.12.12025-12-31 · 2025-12-31 03:13 UTC

    这个版本没有写更新说明。

  4. v1.12.02025-12-01 · 2025-12-01 09:02 UTC

    这个版本没有写更新说明。

  5. v1.11.82025-10-24 · 2025-10-24 06:38 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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

    Screenshots

    C++ debugging with data visualization (Howto): source Rust debugging: source