Hey folks,
I am new to Lua, and to Corona, and iOS, and to Mac OS… So I am learning an awful lot lately
I have a basic puzzle game that I’ve been working on in just textWrangler and the emulator, but things got a bit more complicated and I’ve needed to move to Sublime Text 2 + Corona Editor to try to debug a little better. I made the switch while I was traveling on business on my Windows laptop and everything worked pretty well.
But when I got back home I loaded up the latest revision of my code on my Mac and there are some problems. The code runs just fine in the emulator, but if I run it from Sublime Text (F10 or the Corona Editor menu) it locks up about 10 seconds after launching, every single time. Spinning beach ball. Again, it runs totally fine when it’s *not* run from the Sublime IDE which was confusing to me. Didn’t get this error on Windows.
Also variable view in the Corona Editor in Sublime tells me “Local Variable display disabled with this version of Corona SDK (2511). Try a build after 2515.” But 2511 is the newest one? I didn’t get this error on Windows either. So basically I can’t view variables when debugging.
One last issue that happens on both Mac and PC - for some inexplicable reason, every time I run from Sublime, execution halts on a ‘require’ line from my main.lua as if there were a breakpoint there, but there isn’t a breakpoint. On Mac the emulator gives an error “Unexpected Response from Simulator 202 Paused <path to file> <line # of require statement>” and a notification to check console for errors… and there are none. It proceeds fine if I hit F10, but it’s a nuisance.
Sorry for all the questions, and thanks in advance.