Posted By

tgunr on 03/20/07


Tagged

cocoa objc macdev xcode


Versions (?)

Code Flow Tracing


 / Published in: Other
 

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

  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.

Report this snippet  

You need to login to post a comment.