LLDB DAP installs statistics
By LLVM (2 listings) · VS Code Marketplace · Debuggers
Debugging with LLDB in Visual Studio Code
LLDB DAP has 1,027,790 recorded installs on VS Code Marketplace, an increase of 5.4% over the past 30 days, ranking #535 of 2,515 tracked listings.
Rating: 4.71 / 5 from 7 ratings
About LLDB DAP
LLDB DAP
Procuring the lldb-dap binary
The extension requires the lldb-dap (formerly lldb-vscode) binary.
This binary is not packaged with the VS Code extension.
There are multiple ways to obtain this binary:
- Use the binary provided by your toolchain (for example
xcrun -f lldb-dapon macOS) or contact your toolchain vendor to include it. - Download one of the release packages from the LLVM release page. The
LLVM-19.1.0-{operating_system}.tar.xzpackages contain a prebuiltlldb-dapbinary. - Build it from source (see LLDB's build instructions).
By default, the VS Code extension will expect to find lldb-dap in your PATH.
Alternatively, you can explicitly specify the location of the lldb-dap binary using the lldb-dap.executable-path setting.
Usage with other IDEs
The lldb-dap binary is a command line tool that implements the Debug Adapter Protocol.
It is used to power the VS Code extension but can also be used with other IDEs and editors that support DAP.
The protocol is easy to run remotely and also can allow other tools and IDEs to get a full featured debugger with a well defined protocol.
Launching & Attaching to a debugee
Launching or attaching a debugee require you to create a launch configuration.
This file defines arguments that get passed to lldb-dap and the configuration settings control how the launch or attach happens.
Launching a debugee
This will launch /tmp/a.out with arguments one, two, and three and
adds FOO=1 and bar to the environment:
{
"type": "lldb-dap",
"request": "launch",
"name": "Debug",
"program": "/tmp/a.out",
"args": [ "one", "two", "three" ],
"env": {
"FOO": "1",
"BAR": ""
}
}
Launch in integrated terminal
This will launch process in IDE's integrated terminal.
{
"type": "lldb-dap",
"request": "launch",
"name": "Debug",
"program": "/tmp/a.out",
"console": "integratedTerminal"
}
Setup IO redirection
This will launch process and connect stdin to in.txt, both of stdout and stderr to out.txt.
{
"type": "lldb-dap",
"request": "launch",
"name": "Debug",
"program": "/tmp/a.out",
"stdio": ["in.txt", "out.txt"]
}
Attaching to a process
When attaching to a process using LLDB, you can attach in multiple ways:
- Attach to an existing process using the process ID
- Attach to an existing process by name
- Attach by name by waiting for the next instance of a process to launch
Attach using PID
This will attach to a process a.out whose process ID is 123:
{
"type": "lldb-dap",
"request": "attach",
"name": "Attach to PID",
"program": "/tmp/a.out",
"pid": 123
}
Attach by Name
This will attach to an existing process whose base
name matches a.out. All we have to do is leave the pid value out of the
above configuration:
{
"name": "Attach to Name",
"type": "lldb-dap",
"request": "attach",
"program": "/tmp/a.out",
}
If you want to ignore any existing a.out processes and wait for the next instance to be launched you can add the "waitFor" key value pair:
{
"name": "Attach to Name (wait)",
"type": "lldb-dap",
"request": "attach",
"program": "/tmp/a.out",
"waitFor": true
}
This will work as long as the architecture, vendor and OS supports waiting for processes. Currently MacOS is the only platform that supports this.
Loading a Core File
This loads the coredump file /cores/123.core associated with the program
/tmp/a.out:
{
"name": "Load coredump",
"type": "lldb-dap",
"request": "attach",
"coreFile": "/cores/123.core",
"program": "/tmp/a.out"
}
Connect to a Debug Server on the Current Machine
This connects to a debug server (e.g. lldb-server, gdbserver) on
the current machine, that is debugging the program /tmp/a.out and listening
locally on port 2345.
{
"name": "Local Debug Server",
"type": "lldb-dap",
"request": "attach",
"program": "/tmp/a.out",
"attachCommands": ["gdb-remote 2345"],
}
You can also use the gdb-remote-port parameter to send an attach request
to a debug server running on the current machine,
instead of using the custom command attachCommands.
{
"name": "Local Debug Server",
"type": "lldb-dap",
"request": "attach",
"program": "/tmp/a.out",
"gdb-remote-port": 2345,
}
Connect to a Debug Server on Another Machine
This connects to a debug server running on another machine with hostname
hostname. Which is debugging the program /tmp/a.out and listening on
port 5678 of that other machine.
{
"name": "Remote Debug Server",
"type": "lldb-dap",
"request": "attach",
"program": "/tmp/a.out",
"attachCommands": ["gdb-remote hostname:5678"],
}
You can also use the gdb-remote-hostname and gdb-remote-port parameters
to send an attach request to a debug server running on a different machine,
instead of custom command attachCommands.
The default hostname being used localhost.
{
"name": "Local Debug Server",
"type": "lldb-dap",
"request": "attach",
"program": "/tmp/a.out",
"gdb-remote-port": 5678,
"gdb-remote-hostname": "hostname",
}
Launching via vscode:// URIs
Debugging sessions can also be starting using special URIs.…
Description from the VS Code Marketplace listing.
- C
- C++
- debuggers
- Disassembly
- LLDB
- lldb.disassembly
- LLVM
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Debuggers plugins
All 20 LLDB DAP alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.