Skip to content

Commit

Permalink
Merge pull request #89110 from rsubtil/fix_missing_field_on_dap_req
Browse files Browse the repository at this point in the history
Add missing `variablesReference` field to DAP `evaluate` request
  • Loading branch information
akien-mga committed Mar 4, 2024
2 parents e40010a + c07991e commit faafccb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/debugger/debug_adapter/debug_adapter_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ Dictionary DebugAdapterParser::req_evaluate(const Dictionary &p_params) const {

String value = EditorDebuggerNode::get_singleton()->get_var_value(args["expression"]);
body["result"] = value;
body["variablesReference"] = 0;

return response;
}
Expand Down

0 comments on commit faafccb

Please sign in to comment.