[Lldb-commits] [lldb] [vscode-lldb] Add VS Code commands for high level debug workflow (PR #151827)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 5 10:00:56 PDT 2025


JDevlieghere wrote:

> @walter-erquinigo
> 
> > Please write a section in the lldb-dap documentation on how to integrate with other debugger extensions via these commands?
> 
> That was a great suggestion. Added text to near the end of the `README.md`. Please feel free to LMK if you have different wording/framing in mind. Happy to incorporate.

Given that we use the README in the Marketplace, maybe https://lldb.llvm.org/resources/lldbdap.html would be a more appropriate place for this? It's probably not relevant to 99% of the users of the extension. 

> 
> @JDevlieghere
> 
> > Are you working on an extension that will take advantage of this, or are the commands added in this PR purely speculative?
> 
> We have an internal debugger extension (our main debugging entry point), and we are actively working on leveraging the `lldb-dap` extension's features (e.g. Server Mode, and other settings).
> 
> In long term, we think the most correct way would be to leverage this open-source extension as much as possible and upstream features wherever makes sense.
> 
> > it'll be hard to figure out in the future if we can change these or have to treat them like ABI.
> 
> Yes, that's a tradeoff. Hence my approach of having these commands at the highest level possible (the VS Code API level, which hopefully won't be changed by Microsoft), so as to reduce the chance of having to change them later.
> 
> WDYT?

Ack, thanks for the context, that all sounds reasonable. 



https://github.com/llvm/llvm-project/pull/151827


More information about the lldb-commits mailing list