godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.48k stars 148 forks source link

Debugger instance not stopped after permission denied #539

Closed moritztim closed 4 months ago

moritztim commented 7 months ago

Godot version

n/a

VS Code version

1.84.2

Godot Tools VS Code extension version

1.3.1

System information

Arch Linux

Issue description

If you get a permission denied error when trying to debug your project, the session remains open. image

Steps to reproduce

  1. Make sure you don't have permissions to execute the executable configured in settings
  2. Start a debugger session
DaelonSuzuka commented 7 months ago

The debugger has been almost completely rewritten in master, and one of the big goals was consistency and reliability in starting/stopping debug sessions.

I'm not 100% certain that this exact problem will be fixed, but you should try it again when the new version gets released in a week or so.

DaelonSuzuka commented 4 months ago

I'm not 100% certain that this exact problem will be fixed, but you should try it again when the new version gets released in a week or so.

Apparently "or so" == "three months". Oops.

@moritz-t-w Are you still experiencing this issue with the released version of 2.0.0?

moritztim commented 4 months ago

I tried to recreate the underlying permissions issue to see if the resulting debugger instance issue is fixed. There's now this error message after chmod -xing the executable. image The debugger instance doesn't get started in the first place, therefore, if I recreated the permissions problem correctly, this issue is not present anymore