diff options
author | DualMatrix <piet.goris@gmail.com> | 2019-01-25 02:19:06 +0100 |
---|---|---|
committer | DualMatrix <piet.goris@gmail.com> | 2019-01-25 12:54:50 +0100 |
commit | f119e0b1560c89b1fcf6c0c5e9f9fc101b00860f (patch) | |
tree | 6db0f55a2ac4be9d710e2cda929915718f8bf25c | |
parent | d0b736f7e54cb487db25ab39346ee0fc4b565aee (diff) |
Fixed function names of built-in scripts not showing up in debugger
Fixes #25198
-rw-r--r-- | editor/script_editor_debugger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 { |