You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix remote object inspector through DAP
This commit is contained in:
@@ -1130,12 +1130,14 @@ void DebugAdapterProtocol::on_debug_data(const String &p_msg, const Array &p_dat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p_msg == "scene:inspect_object") {
|
if (p_msg == "scene:inspect_objects") {
|
||||||
// An object was requested from the debuggee; parse it.
|
if (!p_data.is_empty()) {
|
||||||
SceneDebuggerObject remote_obj;
|
// An object was requested from the debuggee; parse it.
|
||||||
remote_obj.deserialize(p_data);
|
SceneDebuggerObject remote_obj;
|
||||||
|
remote_obj.deserialize(p_data[0]);
|
||||||
|
|
||||||
parse_object(remote_obj);
|
parse_object(remote_obj);
|
||||||
|
}
|
||||||
} else if (p_msg == "evaluation_return") {
|
} else if (p_msg == "evaluation_return") {
|
||||||
// An evaluation was requested from the debuggee; parse it.
|
// An evaluation was requested from the debuggee; parse it.
|
||||||
DebuggerMarshalls::ScriptStackVariable remote_evaluation;
|
DebuggerMarshalls::ScriptStackVariable remote_evaluation;
|
||||||
|
|||||||
Reference in New Issue
Block a user