pkulchenko / MobDebug

Remote debugger for Lua.
Other
885 stars 192 forks source link

#60 Update MobDebug to work with luasocket 3 #61

Closed astrolemonade closed 3 years ago

astrolemonade commented 3 years ago

image The error received is that luasocket 3 receive primitive even if it has a default it must be explicitly passed to the function. http://w3.impa.br/~diego/software/luasocket/tcp.html#receive image So, what I did is I created a fork of the project and replaced all the receive() calls with calls with explicit "default" argument receive('*l')(which is the default). This affects EmmyLua Intellij IDEA and also LuaAnalysis(derived from EmmyLua). This fixes the bug opened by me