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 c4d909a commit 6f587cfCopy full SHA for 6f587cf
lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp
@@ -585,8 +585,10 @@ llvm::json::Value toJSON(const SteppingGranularity &SG) {
585
bool fromJSON(const json::Value &Params, StepInTarget &SIT, json::Path P) {
586
json::ObjectMapper O(Params, P);
587
return O && O.map("id", SIT.id) && O.map("label", SIT.label) &&
588
- O.map("line", SIT.line) && O.map("column", SIT.column) &&
589
- O.map("endLine", SIT.endLine) && O.map("endColumn", SIT.endColumn);
+ O.mapOptional("line", SIT.line) &&
+ O.mapOptional("column", SIT.column) &&
590
+ O.mapOptional("endLine", SIT.endLine) &&
591
+ O.mapOptional("endColumn", SIT.endColumn);
592
}
593
594
llvm::json::Value toJSON(const StepInTarget &SIT) {
0 commit comments