Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug Lua in a Java project using LuaJava

My project has LuaJava as the script interpreter, for usage in both desktop and android via AndroLua. I want to be able to debug it, but I'm unable to arrange it.

I have tried with an Eclipse plugin, Koneki, which is poorly documented and only seems able to debug Lua-only projects. I tried doing as the tutorial but it doesn't accept my project as valid for not having lua capabilities. I tried then using a secondary project linking my Lua files, launching the debugger and then my project, but the process does not attach. I tried using the methods provided by the tutorial but they throw an "non-existing Lua method" error.

I have also tried Decoda, but despite being able of launching the executable no symbol pdb files exist so the breakpoints are not triggered.

like image 959
MLProgrammer-CiM Avatar asked May 17 '13 04:05

MLProgrammer-CiM


1 Answers

After contacting ZeroBraneStudio's creator, it is now posible to debug AndroLua and LuaJava on his IDE.

Instructions here. This functionality is available from v0.38 onwards.

like image 156
MLProgrammer-CiM Avatar answered Oct 31 '22 07:10

MLProgrammer-CiM