Add missing variablesReference
field to DAP evaluate
request
(cherry picked from commit c07991ef36
)
This commit is contained in:
parent
7eb4e71147
commit
6451422e72
@ -468,6 +468,7 @@ Dictionary DebugAdapterParser::req_evaluate(const Dictionary &p_params) const {
|
|||||||
|
|
||||||
String value = EditorDebuggerNode::get_singleton()->get_var_value(args["expression"]);
|
String value = EditorDebuggerNode::get_singleton()->get_var_value(args["expression"]);
|
||||||
body["result"] = value;
|
body["result"] = value;
|
||||||
|
body["variablesReference"] = 0;
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user