Heya,
I’m trying to write a game using Corona which relies on physics. I’m not sure whether this is normal, but I see the following a lot:
WARNING: Simulator does not support accelerometer events
Assertion failed: (L-\>top \< L-\>ci-\>top), function lua\_pushlstring, file /Users/ansca/.hudson/jobs/Main-DMG/workspace/platform/mac/../../external/lua-5.1.3/src/lapi.c, line 450.
/Applications/Corona.268/Corona Terminal: line 9: 717 Abort trap "$path/Corona Simulator.app/Contents/MacOS/Corona Simulator" $\*
When I started development I was tolerant of this, it didn’t happen too often. However I’m now at the point where it’s crippling development and I’ve started actively thinking of moving to another platform.
If the crash at least gave some indication about what caused the problem, I wouldn’t mind. Corona comes up quickly enough, so I don’t waste too much time rebooting it. What costs time is hunting down the line of code which caused it. This has been anything from the lack of a :removeSelf() method for weld joints (ansca’s fault as far as I am concerned) to trying to read nil references (my fault).
Each time this happens I have to meticulously comb over my code for typos and errors, usually tracking them down by trial and error - commenting swathes of code out until the game doesn’t crash and then working it all back in.
Anything that can be done to reduce this time would be much appreciated. I’m only at 1000 lines so far, but it takes long enough as is.
Tom
[import]uid: 11757 topic_id: 6984 reply_id: 306984[/import]