Stupid Question: On OS X, where does "print" go to, for real?

I apologize 1000x for posting this, but I’ve Googled and forum-searched the hell out of this and I am apparently the only person who can’t figure this out :p.

When I use a print statement (in the Simulator) where does the data get printed to? I know what the documentation says on the following two pages:
http://developer.anscamobile.com/reference/index/print
http://developer.anscamobile.com/reference/troubleshooting
(as well as some forum posts on print usage)

But my print statements don’t seem to be showing up anywhere :-/. I think I’m looking in the right place, but I’m starting to suspect I’m crazy.

Here’s my example code:

myText = display.newText( "Hello, World!", 20, 40, native.systemFont, 36 ) myText:setTextColor( 255,255,0 ) print ("THIS IS A DEBUG STATMENT.")

Simple, right? Based on what I’ve read I expected my print statement to end up in system.log. But all I see there is this:

5/22/11 8:28:57 PM [0x0-0x28d08ce].com.anscamobile.Corona\_Simulator[45327] Copyright (C) 2009-2010 A n s c a , I n c . 5/22/11 8:28:57 PM [0x0-0x28d08ce].com.anscamobile.Corona\_Simulator[45327] Version: 2.0.0 5/22/11 8:28:57 PM [0x0-0x28d08ce].com.anscamobile.Corona\_Simulator[45327] Build: 2011.484 5/22/11 8:28:57 PM [0x0-0x28d08ce].com.anscamobile.Corona\_Simulator[45327] The file sandbox for this project is located at the following folder: 5/22/11 8:28:57 PM [0x0-0x28d08ce].com.anscamobile.Corona\_Simulator[45327] (/Users/username/Library/Application Support/Corona Simulator/Hello World-C6A0BEEE1DAF5A06A78A57678C03F3F1)

So lay it on me, and do your worst. What am I missing here?

Thanks! [import]uid: 63428 topic_id: 10339 reply_id: 310339[/import]

It should go to the Terminal. Are you starting up the Simulator via the Terminal shortcut? [import]uid: 5833 topic_id: 10339 reply_id: 37730[/import]

Hey Justin,

Don’t be silly - this is a question a HUGE number of new Corona members ask and it’s a good one. Asking questions is how you learn, and don’t end up bald from ripping out your hair in frustration :wink:

As Graham said, it appears in the terminal - but I’m guessing you are launching Corona using the Corona icon and not the Terminal. Don’t worry - it’s not as confusing as it sounds.

Steps!

  1. Open CoronaSDK folder
  2. Double click on Terminal
  3. A terminal window AND Corona will open
  4. Continue as normal

You’ll see errors printed in the terminal as well as any print statements :slight_smile:

Peach [import]uid: 52491 topic_id: 10339 reply_id: 37746[/import]