diff options
-rw-r--r-- | lldb/tools/lldb-dap/EventHelper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/tools/lldb-dap/EventHelper.cpp b/lldb/tools/lldb-dap/EventHelper.cpp index 0dd0b61..33bc7c2 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": { |