mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 03:34:17 +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
|
|
@ -161,7 +161,7 @@ void GDScriptByteCodeGenerator::end_parameters() {
|
|||
|
||||
void GDScriptByteCodeGenerator::write_start(GDScript *p_script, const StringName &p_function_name, bool p_static, Variant p_rpc_config, const GDScriptDataType &p_return_type) {
|
||||
function = memnew(GDScriptFunction);
|
||||
debug_stack = EngineDebugger::is_active();
|
||||
debug_stack = GDScriptLanguage::get_singleton()->should_track_locals();
|
||||
|
||||
function->name = p_function_name;
|
||||
function->_script = p_script;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue