Cuberite Forum

Full Version: Development on Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to get debug the lua plugins on linux? What exactly would a debug suite need to provide in order to get access to the crash information on loading plugins?
Hi,
welcome to the forum.
ZeroBrane Studio claims to be able to debug Lua scripts on Linux. I have only worked with it on Windows, but I'm fairly confident it should work on Linux, too. There's a guide on setting up ZBS, and although it hasn't been tested on Linux, it should give you pointers in the right direction: http://mc-server.xoft.cz/LuaAPI/SettingUpZeroBrane.html
Please let me know if you do manage to set it up successfully, and if there's anything I should add to the guide.
I suppose you've already seen the link, but just in case, you will be needing the API documentation; it's available at http://mc-server.xoft.cz/LuaAPI