You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Ability to print and log script backtraces
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user