[Lldb-commits] [PATCH] D115033: [lldb-vscode] Report supportsModulesRequest=true

Andy Yankovsky via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 3 01:59:44 PST 2021


werat created this revision.
werat requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

The adapter does support `Modules` request, implemented in 39239f9 <https://reviews.llvm.org/rG39239f9b5666bebb059fa562badeffb9f1c3afab>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115033

Files:
  lldb/tools/lldb-vscode/lldb-vscode.cpp


Index: lldb/tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -1505,7 +1505,7 @@
   // 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115033.391584.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211203/d07cee45/attachment.bin>


More information about the lldb-commits mailing list