Add missing variablesReference field to DAP evaluate request

(cherry picked from commit c07991ef36)
This commit is contained in:
Ricardo Subtil 2024-03-03 11:21:46 +00:00 committed by Rémi Verschelde
parent 7eb4e71147
commit 6451422e72
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -468,6 +468,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;
}