Search code examples
iosmethodstrace

iOS user methods/function trace


Is there any way to collect the functions/methods, defined by developer (not system calls), that are called during runtime and execution of an iPhone app?

For example while dynamically running an iPhone app, and clicking on a button I want to collect functions A, B, C, .... that are written by developers and are called. And see which method is called by which method.

Thanks


Solution

  • I ended up using NSObjCMessageLoggingEnabled environment variable dribin.org/dave/blog/archives/2006/04/22/tracing_objc