Print statements do not go to the system console when running in the XCode simulator. Given that the Corona simulator doesn’t support network calls, you have to test in the XCode simulator which you then can’t debug. It’s extremely tedious and time consuming to keep changing code if you can’t see the results of your print statements - leads to lots of guesswork. [import]uid: 10948 topic_id: 24559 reply_id: 324559[/import]
I got a reply from Peach that said:
"Make sure to set this correctly;
http://developer.anscamobile.com/reference/index/filesetvbuf [1]
(I use “full”)"
But it doesn’t appear here. Anyway, I am doing
io.output():setvbuf(“line”)
and have tried no, line and full as params to no avail. Have also tried calling flush after each print. Still nothing. Am using 2012.777.
Peach, any chance you could confirm this works for you (or not) in 777 so I can log a bug if it doesn’t.
Thanks for your help
Mike
[import]uid: 10948 topic_id: 24559 reply_id: 99502[/import]