Debugging for Corona SDK [message #815322] |
Wed, 07 March 2012 09:06  |
Eclipse User |
|
|
|
I have been recently looking into doing cross platform game development for mobile platforms using the Lua based Corona SDK. The Koneki plugin for Eclipse looks absolutely fantastic and I would love to be able to use it to develop and debug Corona SDK games.
I am fairly new to both Corona as well as Lua (been developing in other languages and platforms for years) so I am slowly putting all the pieces together. One thing I have not been able to find is a great (visual) debugging tool that can work with the Corona SDK simulator. They have a command line debugger, which to the best of my knowledge is based on RemDebug but is a closed source custom version of it, and that will work but can really slow down the development progress having to rely on a command line debugger.
I do not know all of the specifics of Lua debugging using remote debugging but has anyone gotten the remote debugging capabilities of Koneki to work the Corona simulator? Should the steps mentioned in the Remote Debugging section (3.1) of the user guide work for games running within the Corona simulator?
If anyone has gotten it to work, what were the steps required to get it setup?
Hopefully that all made sense...
Thanks!
|
|
|
|
|
|
Re: Debugging for Corona SDK [message #819132 is a reply to message #815705] |
Mon, 12 March 2012 10:37   |
Eclipse User |
|
|
|
Hi Jarrod,
Thanks so much for the kind words!
Actually I tried to play with Corona a while ago, and I was stuck with the loadstring() problem too. I didn't try to use the debugger VM, but indeed it seems to be working great. In case you don't know, not only it allows you to browse tables contents, but it also permits to define conditional breakpoints (i.e. halt only when a given expression evaluates to true)! Just right-click on a given breakpoint and select the menu entry "Breakpoint Properties..." in order to change the breakpoint behaviour.
That would be awesome if you could write a quick debug tutorial, and very helpful to the Corona community! Please keep us posted here when you'll have done it, I'll be happy to relay it on Koneki website too.
On a side note, you should check out the beta version of LDT mentioned here to get better support (i.e. content assist) for Corona SDK!
Cheers,
Ben.
[Updated on: Mon, 12 March 2012 10:38] by Moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Debugging for Corona SDK [message #877098 is a reply to message #867656] |
Fri, 25 May 2012 17:37  |
Eclipse User |
|
|
|
Hi Girish
You mentioned "on connecting to debugger and opening debug perspective, it opens a blank tab for main.lua".
You may have figured out that the Koneki plugin has a bug when running on Windows - it can't recognise a filename which has a space in it.
I believe Benjamin will fix this bug because he has acknowledged in message #872655 in forum topic "Spaces in path causing debug problems?"
[Updated on: Fri, 25 May 2012 17:49] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05112 seconds