Cuberite Forum
Development on Linux - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Development on Linux (/thread-1467.html)



Development on Linux - maldridge - 05-04-2014

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?


RE: Development on Linux - xoft - 05-04-2014

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