We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e843559 commit c7d1bbeCopy full SHA for c7d1bbe
lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp
@@ -61,10 +61,10 @@ llvm::json::Value toJSON(const Source &S) {
61
result.insert({"name", *S.name});
62
if (S.path)
63
result.insert({"path", *S.path});
64
- if (S.name)
+ if (S.sourceReference)
65
result.insert({"sourceReference", *S.sourceReference});
66
if (S.presentationHint)
67
- result.insert({"sourceReference", ToString(*S.presentationHint)});
+ result.insert({"presentationHint", ToString(*S.presentationHint)});
68
69
return result;
70
}
0 commit comments