Debug? Error messages?

Totally simple question that I can’t seem to find the answer to:
How can I get some debug information from my apps?

I see others posting messages like this:
level1.lua:262: attempt to compare string with number
Runtime script error at file level1.lua line 262

I don’t see anything like this with my set-up or any option to enable it? (I have iOS and Android license and work from a mac)

Currently I’m reliant on alert messages to track program flow and work out the problems, which is seriously no good!

Thank you,
Paul

[import]uid: 26027 topic_id: 11157 reply_id: 311157[/import]

Hey Paul,

These messages appear in the terminal.

When you want to launch Corona, open it’s folder in applications (or wherever you put it) and rather than double clicking “Corona Simulator” double click on “Corona Terminal”.

This will open Corona as usual, plus a terminal window that will print out your errors for you :slight_smile:

Peach [import]uid: 52491 topic_id: 11157 reply_id: 40512[/import]

That’s great - I wonder if that wasn’t obvious to other people too?

And it prints problems I didn’t even know were there!

Great, thanks Peach.

Where can I read more about the debugger?

Thanks.
Paul [import]uid: 26027 topic_id: 11157 reply_id: 40518[/import]

No worries Paul :slight_smile:

More info is here; http://developer.anscamobile.com/content/corona-simulator-and-debugger-sample-debugging-session

As to whether or not it’s obvious to others, I’m not sure - I can tell you however that it was not obvious to me when I started ^-^;

Peach [import]uid: 52491 topic_id: 11157 reply_id: 40671[/import]