Hi there,
I'm trying really hard to get debugging of a Mod working. There were attemps to do this in several ways, but I always come to the point: compile LuaSocket by yourself.
Checking the Minetest sources I found the Socket and thought about reusing this instead of LuaSocket, but the existing Sockets are UDP sockets and LuaSockets are TCP.
So I need some advice from you, which approach might be the most successful:
- compile LuaSocket into Minetest like Lua interpreter is done
- change Minetest to use dynamically link Lua interpreter so precompiled LuaSocket binaries can reuse this library
- extend existing Socket implementation so e.g. mobdebug debugger can use those instead of LuaSocket
I'm not yet ready to accept that debugging Lua code with Minetest should not be possible. Also I saw that LuaSocket might be useful for other mods. So integrated version will make things easier.
Please do not give advise that I can do debugging by printing to debug.txt, I know about that possibilities ;-)
Thanks in advance