views:

781

answers:

2

is there a way to view the console output as we are running an iphone App on the device? If not directly, is there an app on the App store which lets you view the log after the App has finished running?

+1  A: 

if you have a paid iphone developer account, you can use the organizer window in xcode to view the console and app logs on your devices.

Hezi Cohen
oh no thats not the issue ... I am developing a Location Based application, for which I need to run with my iphone. Its a little cumbersome to run with my macbook in one hand and iphone in the other. Any "on device log viewer"?
you could make your app NSLog the data you want to see and view it later using the organizer. i think there's no way to see it live on-device unless you add you own ui to print it out.
Hezi Cohen
+2  A: 

http://itunes.apple.com/us/app/console/id317676250

matt
So there is a way to access the log from an app!
progrmr
According to the developer's blog he used asl functions to access the logs, here http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/asl.3.html
progrmr
great .. i will try it out.