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

using stock lua binary #287

Open
fikin opened this issue Mar 18, 2024 · 4 comments
Open

using stock lua binary #287

fikin opened this issue Mar 18, 2024 · 4 comments

Comments

@fikin
Copy link

fikin commented Mar 18, 2024

plugin provided binary does not contain bit32 module compiled with it.

in past i'd simply replace ~/.vscode/extensions/actboy168.lua-debug-2.0.4-linux-x64/runtime/linux-x64/lua53/lua with actual one provided by OS i.e. /usr/bin/lua5.3.
and vscode debugger was working.

but now if i do that, vscode debugger hangs i.e. fails to attach to the lua process.

any suggestions what is the problem?

@actboy168
Copy link
Owner

You can use Lua compiled by yourself.

@fikin
Copy link
Author

fikin commented Apr 4, 2024

if there is nothing specific to lua binary,
my guess would be that vscode debugger session does not connect with the running process. hence the hanging.

is there anything which might impact this when replacing lua binary with generic distro one (like from debian repos)?

@district10
Copy link

This plugin works locally on my macOS air (m1), but not work on vscode remote connection.

I haven't found the solution, but you can configure lua binary at:

image

@fikin
Copy link
Author

fikin commented Sep 28, 2024

ok, so we're having problem with remote.

sure enough, downgrading plugin version to v2.0.9 makes it work or me, even when i replace the binary.
see #298

i'd say this issue would be resolved by same solution.

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

3 participants