Skip to content

Conversation

@jpeletier
Copy link
Contributor

This PR fixes the --dbgport=xxx option not working in Linux. The following could be seen in the logs:

$HOME/.vscode/extensions/actboy168.lua-debug-2.0.12-linux-x64/runtime/linux-x64/lua54/luadebug.so: undefined symbol: lua_getmetatable

This error comes from the fact that the host process (lua language server) does not expose lua54 symbols for luadebug.so to use.

The fix adds a compilation flag that will be used by luamake and will incorporate those symbols.

@jpeletier jpeletier force-pushed the fix-debugserver-linux branch from 03a1fbd to 0179078 Compare April 1, 2025 15:22
@sumneko
Copy link
Collaborator

sumneko commented Apr 5, 2025

Please resolve the conficts.
image

@jpeletier
Copy link
Contributor Author

Done, thanks

@jpeletier jpeletier force-pushed the fix-debugserver-linux branch from 89ae264 to fcf134f Compare April 10, 2025 15:38
@jpeletier
Copy link
Contributor Author

@sumneko fixed. Sorry, I forgot to push the changes.

@jpeletier jpeletier changed the title fix Linux debugging server not starting [fix] Linux debugging server not starting Apr 10, 2025
@sumneko sumneko merged commit 606ea70 into LuaLS:master Apr 12, 2025
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants