mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Show function name in debugger stack trace
Also show script and line when the instance is gone when resuming from yield.
This commit is contained in:
parent
bdc6649b79
commit
9df1a2442b
2 changed files with 3 additions and 4 deletions
|
|
@ -622,8 +622,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue