[JW Lua] Debugging in JW Lua

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Tue Aug 12 23:34:04 CEST 2014


Another thing that comes to mind is to check if the result is different 
if the script is run from the JW Lua Explorer compared to from the 
Development editor. Scripts from the Explorer are run as file, while 
scripts in the editor are run as text.

Best regards,

Jari Williamsson

On 2014-08-12 22:07, Jari Williamsson wrote:
> Jan,
>
> I looked in to the matter a bit, and I can't add luasocket to JW Lua at
> this time at least, since no official build support Lua 5.2 (which JW
> Lua runs on).
>
> However, it seems like the author of ZeroBrane Studio has compiled a
> 5.2-compatible version of luasocket, which is available in the repository:
> https://github.com/pkulchenko/ZeroBraneStudio/tree/master/bin
>
> Have you tried that approach?
>
>
> Best regards,
>
> Jari Williamsson
>
>
> On 2014-08-12 18:07, Jan Angermüller wrote:
>> Jari,
>>
>> I have been trying to get JW Lua working with a debugger
>> (MobDebug with LuaSocket, and ZeroBrane Studio).
>>
>> Although I think it should work theoretically, it only crashed Finale
>> once all paths and compilers were setup correctly.
>> Having read several user forum entries, it is probably
>> a Lua version conflict with LuaSocket, but I am not 100% sure.
>> I also tried it with proxy dll (
>> http://lua-users.org/wiki/LuaProxyDllFour )
>> which did compile, but also crashed when active.
>>
>> An idea would be to link LuaSocket into your static plugin dll.
>> Probably that would make the thing work.
>> What do you think ?
>>
>> Jan
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>>
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list