Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-06-2009, 12:24 PM   #3 (permalink)
kelvinkao
Registered Member
 
kelvinkao's Avatar
 
Join Date: Jul 2009
Location: Los Angeles
Posts: 352
kelvinkao is on a distinguished road
Send a message via AIM to kelvinkao
Default

I use two kinds of hacks for something like this. It's not for push notifications, but it's similar, because I was testing starting the app from an URL, which doesn't give me console output either.

1) On-screen output: This is similar to what you are doing. Instead of alerts, I am just putting a plain text label on the screen so I can see the outputs there. Limiting, and new text replaces old text, I know. But at least it's something.

2) Pretend to trigger an event: For example, I created a button just for debugging purposes. When the button is pressed, I manually call the method that normally handles the setups while started from other apps. This way, at least I get to see some console outputs out of it.

Of course, both of these are sort of hacks.
kelvinkao is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,021
Threads: 93,865
Posts: 401,923
Top Poster: BrianSlick (7,962)
Welcome to our newest member, hillsims1
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:32 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.