Discussion:
Monitoring stdout on iOS simulator
J. Landman Gay
2015-09-21 20:28:28 UTC
Permalink
Way back when, we used to be able to see output from the iOS simulator
by watching the Mac Console app. That stopped working some time ago. Is
it possible to view stdout from the simulator any more?
--
Jacqueline Landman Gay | ***@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Chris Sheffield
2015-09-21 20:43:03 UTC
Permalink
Hi Jacque,

Xcode now has a “console” built into it, that I’m pretty sure still works with LiveCodes “put” command. With your device plugged in, fire up a recent version of Xcode, select the device in the Devices window, then click the little triangle icon to the right of the Filter field. That should show you the output from the device.

Good luck!

Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
Way back when, we used to be able to see output from the iOS simulator by watching the Mac Console app. That stopped working some time ago. Is it possible to view stdout from the simulator any more?
--
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
J. Landman Gay
2015-09-21 22:36:34 UTC
Permalink
Post by Chris Sheffield
Hi Jacque,
Xcode now has a “console” built into it, that I’m pretty sure still
works with LiveCodes “put” command. With your device plugged in, fire
up a recent version of Xcode, select the device in the Devices
window, then click the little triangle icon to the right of the
Filter field. That should show you the output from the device.
Thanks, but I was hoping to see output from the simulator since I need
to test on various devices I don't have. It doesn't sound like it's
possible, which is too bad because it used to work great.
--
Jacqueline Landman Gay | ***@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
panagiotis merakos
2015-09-21 22:50:30 UTC
Permalink
Hi Jacque,

It is possible to see the output in the simulator. If I remember correctly,
you can do:

Launch iOS Simulator -> Menu Bar -> Debug -> Open System Log

Regards,
Panos
--
Post by Chris Sheffield
Hi Jacque,
Xcode now has a “console” built into it, that I’m pretty sure still
works with LiveCodes “put” command. With your device plugged in, fire
up a recent version of Xcode, select the device in the Devices
window, then click the little triangle icon to the right of the
Filter field. That should show you the output from the device.
Thanks, but I was hoping to see output from the simulator since I need to
test on various devices I don't have. It doesn't sound like it's possible,
which is too bad because it used to work great.
--
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
J. Landman Gay
2015-09-22 02:07:15 UTC
Permalink
Post by panagiotis merakos
It is possible to see the output in the simulator. If I remember correctly,
Launch iOS Simulator -> Menu Bar -> Debug -> Open System Log
Thank you! Yes, it does work. In the past it was possible to just launch
Console and choose "All Messages", and logging showed up there. I
haven't been able to do that for a long time, but choosing the menu item
from within the simulator does it.

Happy dance. This makes things much easier.
--
Jacqueline Landman Gay | ***@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Loading...