actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
435 stars 94 forks source link

Deubgging broken for a vscode extension #173

Closed hahn-kev closed 2 years ago

hahn-kev commented 2 years ago

I'm trying to debug a vscode extension that's running lua (it's a bit complicated), it's this extension https://github.com/sumneko/vscode-lua from what I can tell when the language server starts up it looks for and loads \.vscode\extensions\actboy168.lua-debug-1.56.0-win32-ia32\script\debugger.lua so that the language server can be debugged. However that files gives an error here saying: The specified module could not be found. in this case the module is: /.vscode/extensions/actboy168.lua-debug-1.56.0-win32-ia32/runtime/win32-x64/lua54/remotedebug.dll

from what I can tell this file was not included in version 1.56.0 of the extension.

As a work around I've downgraded to the 1.55.1 version and manually deleted the 1.56 version of the extension from my vscode extensions folder (required because the debug script picks up the most recent version of the extension regardless of the version in use by vscode), this has fixed the issue.

Edit: this is on windows 11 64bit

actboy168 commented 2 years ago

It should have recovered by now.

hahn-kev commented 2 years ago

Looks like it's working now, thank you.