mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Ability to print and log script backtraces
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
This commit is contained in:
parent
f704113abe
commit
d1dcb40d56
32 changed files with 813 additions and 95 deletions
|
@ -237,11 +237,9 @@ Variant GDScriptFunctionState::resume(const Variant &p_arg) {
|
|||
emit_signal(SNAME("completed"), ret);
|
||||
}
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
if (EngineDebugger::is_active()) {
|
||||
GDScriptLanguage::get_singleton()->exit_function();
|
||||
}
|
||||
GDScriptLanguage::get_singleton()->exit_function();
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
_clear_stack();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue