1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

GDScript call stack as reverse linked list with fixed coroutines

* GDScript call stack as reverse linked list with issues fixed
(originally proposed in 91006).
* Fix coroutine issues with call stack by resuming async call chain
inside `GDScriptFunction::call()`.
* This fixes corrupted line numbers for coroutines in the debugger and
backtrace (106489).

Co-authored-by: Juan Linietsky <reduzio@gmail.com>
This commit is contained in:
Serhii Snitsaruk
2025-05-23 19:32:01 +02:00
parent e1b4101e34
commit a095c5e3fa
7 changed files with 90 additions and 79 deletions

View File

@@ -661,7 +661,6 @@
</member>
<member name="debug/settings/gdscript/always_track_call_stacks" type="bool" setter="" getter="" default="false">
Whether GDScript call stacks will be tracked in release builds, thus allowing [method Engine.capture_script_backtraces] to function.
Enabling this comes at the cost of roughly 40 KiB for every thread that runs any GDScript code.
[b]Note:[/b] This setting has no effect on editor builds or debug builds, where GDScript call stacks are tracked regardless.
</member>
<member name="debug/settings/gdscript/always_track_local_variables" type="bool" setter="" getter="" default="false">