Code Flow Tracing


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Code Flow Tracing
  2.  
  3. NSLog(@"%s", __PRETTY_FUNCTION__)
  4.  
  5. will display the prototype for the currently executing function/method in the console log. It is useful for "tracer" style debugging.

URL: http://www.cocoadev.com/index.pl?DebuggingTechniques

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.