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 placing a breakpoint in code that runs in a thread, the breakpoint will not be triggered properly. More specifically, the game will pause, but there's no indication of hitting a breakpoint in VSCode and the game will just sit frozen. The breakpoint works in the editor but not in VSCode.
Steps to reproduce
Create a new node
Attach the following script:
extends Node
var thread := Thread.new()
func _ready():
thread.start(_thread_worker)
func _thread_worker():
while true:
print("Place a breakpoint here")
Place down a breakpoint on the print statement.
Launch game from VSCode.
The text was updated successfully, but these errors were encountered:
Godot version
v4.2.stable.official [46dc27791]
VS Code version
1.88.1
Godot Tools VS Code extension version
2.0.0
System information
Windows 11
Issue description
When placing a breakpoint in code that runs in a thread, the breakpoint will not be triggered properly. More specifically, the game will pause, but there's no indication of hitting a breakpoint in VSCode and the game will just sit frozen. The breakpoint works in the editor but not in VSCode.
Steps to reproduce
The text was updated successfully, but these errors were encountered: