Reputation: 1209
Is it possible to check if a particular method is being executed at a particular point of time on iOS ?
For example, I want to know if the method sampleMethod is being run at 1 minute after the app starts executing?
Upvotes: 2
Views: 471
Reputation: 68596
Can't you use _cmd for that?
NSLog(@"Method name = %@", NSStringFromSelector(_cmd));
Upvotes: 2
Reputation: 326
Using breakpoints and/or the NSLog(NSString)
function inside your mehthods.
Upvotes: 1