You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a print statement in an infinite loop, nothing will be printed to the Output panel.
If the loop breaks, all will be printed to the output panel at once.
See issue #22184 that was supposedly fixed in 3.1.2, it's the same issue I'm encountering.
Steps to reproduce
Run this script:
func _ready():
var i = 0
while true:
i += 1
print(i)
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
I think this is expected, as the debugger is only able to process things every time a frame is processed. If you enter an infinite loop, there are no more frames that can be processed.
However, we can look into implementing some kind of engine freeze/infinite loop detection in the editor when the project is running.
Godot version
3.4.2.stable.official
System information
Windows 10
Issue description
When using a print statement in an infinite loop, nothing will be printed to the Output panel.
If the loop breaks, all will be printed to the output panel at once.
See issue #22184 that was supposedly fixed in 3.1.2, it's the same issue I'm encountering.
Steps to reproduce
Run this script:
func _ready():
var i = 0
while true:
i += 1
print(i)
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: