[Lldb-commits] [lldb] 0495301 - [lldb-vscode] Report supportsModulesRequest=true
Andy Yankovsky via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 3 07:07:55 PST 2021
Author: Andy Yankovsky
Date: 2021-12-03T16:07:48+01:00
New Revision: 049530129326f9b0bfa9ce6a762c6cb180974ac5
URL: https://github.com/llvm/llvm-project/commit/049530129326f9b0bfa9ce6a762c6cb180974ac5
DIFF: https://github.com/llvm/llvm-project/commit/049530129326f9b0bfa9ce6a762c6cb180974ac5.diff
LOG: [lldb-vscode] Report supportsModulesRequest=true
The adapter does support `Modules` request, implemented in 39239f9.
Reviewed By: wallace
Differential Revision: https://reviews.llvm.org/D115033
Added:
Modified:
lldb/tools/lldb-vscode/lldb-vscode.cpp
Removed:
################################################################################
diff --git a/lldb/tools/lldb-vscode/lldb-vscode.cpp b/lldb/tools/lldb-vscode/lldb-vscode.cpp
index 445a06c9da702..97ec4b578cf7c 100644
--- a/lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ b/lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -1505,7 +1505,7 @@ void request_initialize(const llvm::json::Object &request) {
// is the behavior of LLDB CLI, that expects a TAB.
body.try_emplace("supportsCompletionsRequest", false);
// The debug adapter supports the modules request.
- body.try_emplace("supportsModulesRequest", false);
+ body.try_emplace("supportsModulesRequest", true);
// The set of additional module information exposed by the debug adapter.
// body.try_emplace("additionalModuleColumns"] = ColumnDescriptor
// Checksum algorithms supported by the debug adapter.
More information about the lldb-commits
mailing list