Created
June 24, 2009 07:40
-
-
Save afarnham/135073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Find the process ID for your iPhone app, attach the debug to it and hit continue. When you reach the first break point | |
//set "more" to "NO". Hit continue and you will stop at the second break point. | |
//Taken from here: http://www.iphonedevsdk.com/forum/iphone-sdk-development/10156-how-do-i-debug-app-launched-url.html | |
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { | |
BOOL more = YES; | |
while (more) { | |
[NSThread sleepForTimeInterval:1.0]; // Set break point on this line | |
} | |
//your read code goes here. Set a second break point where you want to break at | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment