[Lldb-commits] [lldb] [lldb-dap] Fix Completions Request crash (PR #176211)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 16 08:43:13 PST 2026
da-viper wrote:
I just noticed we do not produce the right completion.
For example
| Input | Current |
| ------------- | ------------- |
| mem | label: memory</br>text: memory |
we end up with the full completion of `memmemory` when the user accepts the completion.
```jsonc
(stdio) --> {"command":"completions","arguments": {"frameId":524288,"text":"mem","column":4,"line":1},"type":"request","seq":41}
(stdio) <-- {"body":{"targets":[{"label":"memory -- Commands for operating on memory in the current target process.","text":"memory"}]},"command":"completions","request_seq":41,"seq":59,"success":true,"type":"response"}
```
It existed before this PR.
Tracking it here https://github.com/llvm/llvm-project/issues/176424
https://github.com/llvm/llvm-project/pull/176211
More information about the lldb-commits
mailing list