From dc5c2f5b750aec8f925f0c6bf7cf9611e2438693 Mon Sep 17 00:00:00 2001 From: MatheusMDX <44306054+matheusmdx@users.noreply.github.com> Date: Thu, 25 Jun 2026 16:43:19 -0300 Subject: [PATCH] Fix call stack select node --- editor/debugger/editor_debugger_inspector.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editor/debugger/editor_debugger_inspector.cpp b/editor/debugger/editor_debugger_inspector.cpp index aabaa2b660..6d91818c91 100644 --- a/editor/debugger/editor_debugger_inspector.cpp +++ b/editor/debugger/editor_debugger_inspector.cpp @@ -446,7 +446,13 @@ void EditorDebuggerInspector::add_stack_variable(const Array &p_array, int p_off v = Object::cast_to(v)->get_object_id(); h = PROPERTY_HINT_OBJECT_ID; hs = var.type_hint; + + // Makes the call stack select the node in the remote tree. See https://github.com/godotengine/godot/issues/79477 + if (n == "self") { + _object_selected(v); + } } + String type; switch (var.type) { case 0: