Skip to content

Commit 159de36

Browse files
authored
[lldb-dap] Add missing key for capabilities event. (llvm#142751)
fixes the failed tests on aarch64. complements llvm#142439
1 parent 1f20cb9 commit 159de36

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)