[Lldb-commits] [lldb] [lldb] Add support for unique target ids (PR #160736)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 25 11:07:50 PDT 2025


JDevlieghere wrote:

> I'm not sure why you really want that, for all the ones currently extant the combo of {lldb pid, debugger ID} would do. Why do you care about not overlapping with defunct Debuggers?

Yes, that's also an option, but would increase the "hierarchy" in the source URL. [Right now](https://lldb.llvm.org/use/mcp.html), debugger and target resources are listed as:

```
lldb://debugger/<debugger id>/target/<target idx>
```

Adding the pid would make that a little bit more complicated, and unnecessarily so for the common case where you only have one instance. 

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


More information about the lldb-commits mailing list