|
|
|
|
Re: Debugging for Corona SDK [message #1416359 is a reply to message #1416358] |
Mon, 12 March 2012 14: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 tutorial, since I think it will be 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 http://lua-list.2524044.n2.nabble.com/ANN-Koneki-LDT-smart-content-assist-available-in-beta-td7287990.html to get better support (i.e. content assist) for Corona SDK!
Cheers,
Ben.
|
|
|
|
|
|
|
|
|
Re: Debugging for Corona SDK [message #1416415 is a reply to message #1416414] |
Wed, 02 May 2012 09:15 |
Eclipse User |
|
|
|
sean bean wrote on Tue, 01 May 2012 17:40
> Hi everyone.
> I just have a quick question, I can get the debugger up and running thanks to Benjamins tutorial. However, if I then make changes to my code and save my .lua files, the debugger disconnects, and I have to close corona simulator and debugger, then relaunch from the beginning in eclipse. I was just wondering if there was a quicker way.
Hello Sean,
Unfortunately there is a "facility" in the Corona simulator and debugger that makes it automatically restart whenever a file is modified so as you can immediately see the result of the modification. Maybe you should ask to the Ansca ppl whether it is possible to disable this behavior by using a command line parameter?
In the meantime we could have a special parameter in the LDT debug config to never end a debugging session even though the application under debug has been restarted.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05761 seconds