Fix single-object inspect command regression
This commit is contained in:
parent
89f32c6ead
commit
b01b84e3a1
5 changed files with 53 additions and 0 deletions
|
|
@ -1176,6 +1176,16 @@ void DebugAdapterProtocol::on_debug_data(const String &p_msg, const Array &p_dat
|
|||
|
||||
parse_object(remote_obj);
|
||||
}
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
} else if (p_msg == "scene:inspect_object") {
|
||||
if (!p_data.is_empty()) {
|
||||
// Legacy single object response format.
|
||||
SceneDebuggerObject remote_obj;
|
||||
remote_obj.deserialize(p_data);
|
||||
|
||||
parse_object(remote_obj);
|
||||
}
|
||||
#endif // DISABLE_DEPRECATED
|
||||
} else if (p_msg == "evaluation_return") {
|
||||
// An evaluation was requested from the debuggee; parse it.
|
||||
DebuggerMarshalls::ScriptStackVariable remote_evaluation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue