/vscode-lldb

A native debugger extension for VSCode based on LLDB

Primary LanguageRustMIT LicenseMIT

Features

  • 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.

Supported Platforms

  • 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.

Quick Start

Here's a minimal debug configuration to get you started:

{
    "name": "Launch",
    "type": "lldb",
    "request": "launch",
    "program": "${workspaceFolder}/<my program>",
    "args": ["-arg1", "-arg2"],
}

Links

Screenshots

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

Rust debugging:
source