summaryrefslogtreecommitdiffstats
path: root/editor/script_editor_debugger.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-01 16:35:26 +0200
committerGitHub <noreply@github.com>2019-07-01 16:35:26 +0200
commit4d99408d123e4eea5773c8d1e35b59385b0aefa1 (patch)
tree6a3725357efcc0c2c2a841cf49f10612ad48e435 /editor/script_editor_debugger.cpp
parentf5d9454a4b88cff363513fb4b34ab74f29eba1c7 (diff)
parent9df1a2442b480f9ed8a8d4ec8992ea5046b98719 (diff)
downloadredot-engine-4d99408d123e4eea5773c8d1e35b59385b0aefa1.tar.gz
Merge pull request #28884 from vnen/yield-resume-stack
Keep GDScript functions in stack while yielding
Diffstat (limited to 'editor/script_editor_debugger.cpp')
-rw-r--r--editor/script_editor_debugger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index 00c8ed6ad3..8fd1064427 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -626,8 +626,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
d["frame"] = i;
s->set_metadata(0, d);
- //String line = itos(i)+" - "+String(d["file"])+":"+itos(d["line"])+" - at func: "+d["function"];
- String line = itos(i) + " - " + String(d["file"]) + ":" + itos(d["line"]);
+ String line = itos(i) + " - " + String(d["file"]) + ":" + itos(d["line"]) + " - at function: " + d["function"];
s->set_text(0, line);
if (i == 0)