godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.28k stars 21.05k forks source link

Debug game freeze when I use the editor pause function(),and debug is the same #93251

Open SnowCabbage opened 4 months ago

SnowCabbage commented 4 months ago

Tested versions

v4.2.2 stable

System information

Win11, Laptop3060

Issue description

I can't use the pause function of the editor next to the start button after add a GDScript, It will freeze.And the debug function is the same.When the program reaches a breakpoint, it will also freeze and I have to stop it by the editor.

Steps to reproduce

1.create a node2D named Main 2.start the game and pause, it goes OK 3.add a GDScript to the Main 4.start the game and pause, it stuck and froze

https://github.com/godotengine/godot/assets/94156667/72595ab4-3fe5-4b16-8311-9d875ecda973

Minimal reproduction project (MRP)

Test.zip

SnowCabbage commented 4 months ago

I don't know why I can't see the video, but you can download it to see it.

AThousandShips commented 4 months ago

Please try finding a way to display the video correctly, people might be unable to play it on their phones or computers