Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiting tests manually with Ctrl+C in VScode results in an infinitely logging loop #299

Closed
lihop opened this issue Jul 4, 2021 · 1 comment

Comments

@lihop
Copy link

lihop commented Jul 4, 2021

I already added a comment to a Godot engine issue here godotengine/godot#19775 (comment), but this issue affects the Gut VSCode plugin quite badly. When I press Ctrl+C to manually exit the tests, the debugger enters an infinite loop:

Peek 2021-07-04 20-40

This loop will keep running, even after closing VSCode and fills the godot.log file in .local/share/godot/app_userdata/<project>/logs with this message:

Debugger Break, Reason: 'Breakpoint'
*Frame 0 - res://addons/gut/GutScene.gd:82 in function '_process'
Enter "help" for assistance.
debug> 

until the filesystem is 100% full (I found this out the hard way 😝).

When running godot -d in the terminal it only happens when entering Ctrl+D and the infinite logging process exits when you close the terminal. But with the Gut VSCode plugin it is more severe (happens after Ctrl+C and keeps running after VSCode is closed) so I thought I'd better mention it here.

OS: Linux, NixOS 21.11
Gut: 3e36028 (latest commit at time of writing)
gut-extension (vscode plugin): v0.0.5
godot-tools (vscode plugin): v1.1.2

@lihop lihop changed the title Exit tests manually with Ctrl+C in VScode results in an infinite loop Exiting tests manually with Ctrl+C in VScode results in an infinitely logging loop Jul 4, 2021
@lihop
Copy link
Author

lihop commented Jul 4, 2021

I have created new issue in the Godot repo godotengine/godot#50170, and will close this one as it's not a Gut bug. It turns out VScode was using the Mono build of godot which enters this loop with Ctrl+C.

In the meantime, I have removed -d from additional options in the gut-extension settings and everything runs and exits smoothly.

@lihop lihop closed this as completed Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant