From f119e0b1560c89b1fcf6c0c5e9f9fc101b00860f Mon Sep 17 00:00:00 2001 From: DualMatrix Date: Fri, 25 Jan 2019 02:19:06 +0100 Subject: [PATCH] Fixed function names of built-in scripts not showing up in debugger Fixes #25198 --- editor/script_editor_debugger.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index acc735d571..5f6459045a 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -898,6 +898,10 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da item.name = strings[2]; item.script = strings[0]; item.line = strings[1].to_int(); + } else if (strings.size() == 4) { //Built-in scripts have an :: in their name + item.name = strings[3]; + item.script = strings[0] + "::" + strings[1]; + item.line = strings[2].to_int(); } } else {