Skip to content

Commit ed06cb7

Browse files
committed
[lldb-dap] add missing key for capabilities event.
fixes the failed tests on arch64. complements #142439
1 parent b36e161 commit ed06cb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/tools/lldb-dap/EventHelper.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ void SendTargetBasedCapabilities(DAP &dap) {
4646

4747
protocol::Event event;
4848
event.event = "capabilities";
49-
event.body = llvm::json::Object{{"supportsStepInTargetsRequest", false}};
49+
event.body = llvm::json::Object{
50+
{"capabilities",
51+
llvm::json::Object{{"supportsStepInTargetsRequest", false}}}};
5052
dap.Send(event);
5153
}
5254
// "ProcessEvent": {

0 commit comments

Comments
 (0)