Author: Ebuka Ezike
Date: 2025-06-04T10:26:39+01:00
New Revision: 159de3633640a5cb2d322ebe8cc4ec0c1c9a896d

URL: 
https://github.com/llvm/llvm-project/commit/159de3633640a5cb2d322ebe8cc4ec0c1c9a896d
DIFF: 
https://github.com/llvm/llvm-project/commit/159de3633640a5cb2d322ebe8cc4ec0c1c9a896d.diff

LOG: [lldb-dap] Add missing key for capabilities event. (#142751)

fixes the failed tests on aarch64.

complements #142439

Added: 
    

Modified: 
    lldb/tools/lldb-dap/EventHelper.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-dap/EventHelper.cpp 
b/lldb/tools/lldb-dap/EventHelper.cpp
index 0dd0b61b1e2ae..33bc7c2cbef11 100644
--- a/lldb/tools/lldb-dap/EventHelper.cpp
+++ b/lldb/tools/lldb-dap/EventHelper.cpp
@@ -46,7 +46,9 @@ void SendTargetBasedCapabilities(DAP &dap) {
 
   protocol::Event event;
   event.event = "capabilities";
-  event.body = llvm::json::Object{{"supportsStepInTargetsRequest", false}};
+  event.body = llvm::json::Object{
+      {"capabilities",
+       llvm::json::Object{{"supportsStepInTargetsRequest", false}}}};
   dap.Send(event);
 }
 // "ProcessEvent": {


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to