|
|
|
|
Re: Debugging for Corona SDK [message #819132 is a reply to message #815705] |
Mon, 12 March 2012 14:37 |
|
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.
My blog: http://blog.benjamin-cabe.com
[Updated on: Mon, 12 March 2012 14:38] Report message to a moderator
|
|
|
|
|
|
|
Re: Debugging for Corona SDK [message #867656 is a reply to message #853714] |
Tue, 01 May 2012 12:06 |
Girish Joshi Messages: 2 Registered: May 2012 |
Junior Member |
|
|
Hi Benjamin ,
Thanks for this very helpful info. I tried it on win32. It works very well. Only problems is that on connecting to debugger and opening debug perspective, it opens a blank tab for main.lua. The editor window shows 'debug source lookup '. The tab title shows correct path to project main.lua but all in small case. I think path has to be case sensitive. Please let me know how to fix this.
[Updated on: Tue, 01 May 2012 12:06] Report message to a moderator
|
|
|
|
Re: Debugging for Corona SDK [message #868595 is a reply to message #868001] |
Wed, 02 May 2012 09:15 |
|
sean bean wrote on Tue, 01 May 2012 17:40Hi 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.
My blog: http://blog.benjamin-cabe.com
|
|
|
|
Re: Debugging for Corona SDK [message #877098 is a reply to message #867656] |
Fri, 25 May 2012 21:37 |
Amu Shan Messages: 2 Registered: May 2012 |
Junior Member |
|
|
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 21:49] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 2.03664 seconds