We Recommend

Beginning AppleScript (Programmer to Programmer) Beginning AppleScript (Programmer to Programmer)
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced.


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.