StackOverflows

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By qazwsx
:warning: Old Version Published before Godot 3 was released.

I met problems with godot constraints that cause StackOverflow errors. Can I somehow change the size of stack in Godot? There are two cases I found till now.

  1. When I create recursive function it throws StackOverflow after 1024 self executions.
  2. When I print quite big string it throws StackOverflow.
    I obviousely can rewrite the function to iterative and don’t print the string, but I wonder is there are other options (change stack size).
:bust_in_silhouette: Reply From: volzhs

I didn’t try this options.
But I guess this is what you need.

Thanks, didn’t know about that

qazwsx | 2016-08-23 18:48

Does it work in exported games? I see the tab is named “debug”, it sounds like these options are only for testing.

Zylann | 2016-08-24 23:39