I’m trying to learn how to use the Corona Editor 1.0 debugger but have run into some problems. Are these bugs or am I not understanding how this is supposed to work?
-
First, I tried in ST2, and all the debugger menu items are grayed out. I uninstalled and reinstalled the CE package and the menu items are still grayed out. I installed ST3(beta) and the CE debugger features are available. Is CE is supposed to work in ST2 ?
-
In ST3, If I turn on the debugger, my project runs slooooooowwwwwwwwly and eventually chokes to death. I don’t set any breakpoints (just run again after it breaks at the first line), I’ll get a few stuttering starts on the first screen, then everything just freezes. Waiting for a few minutes and it might choke past another few frames and freeze again. Eventually it’s just dead and I have to force quit the simulator. It never even completed loading the first scene. I’ve never used a debugger before, so perhaps I’m missing some basic usage info, but I don’t see how this could be useful if this is expected behavior. (My project is large so perhaps it is overwhelming the debugger, but in that case what use is it if it can’t be used in a mature project?)
-
If I hide and then re-show the build panel all the previous text from the build panel/console output is erased. This has actually been my one major beef with Sublime, that whenever I do a search for text the build panel closes to show the search input text box and I lose all my console output. During development there’s usually a bunch of info in the console that I need to help me track down bugs or whatever so I am often forced to make a choice, do I retain my console output, or do I perform a search? I realize this isn’t a Corona Editor specific issue, it’s more of a feature request to save the contents of the build panel so when it reopens it displays prior output. I noticed when the debugger is used a new window is created for the console output, so perhaps it’s possible to have such a window available even when not debugging so I can both search for text and continue to view the console’s contents.
Other features of CE are great: Links to docs, autocomplete, snippets, love the show unsaved changes. So while it is already quite useful, I would also love to be able to use the debugger.
-Stephen