1. [lldb-vscode] support the completion request (details)
Commit 2c7c528d7ac17230f1f239b629a02d407a74e1bf by waltermelon
[lldb-vscode] support the completion request
Summary: The DAP has a completion request that has been unimplemented.
It allows showing autocompletion tokens inside the Debug Console. I
implemented it in a very simple fashion mimicking what the user would
see when autocompleting an expression inside the CLI. There are two
cases: normal variables and commands. The latter occurs when a text is
prepepended with ` in the Debug Console. These two cases work well and
have tests.
Reviewers: clayborg, aadsm
Subscribers: lldb-commits
Tags: #lldb
Differential Revision:
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/completions/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/completions/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/completions/
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/