0

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

rmaddy
  • 314,917
  • 42
  • 532
  • 579
ramo
  • 609
  • 2
  • 8
  • 14
  • I don't think there is a great way to do this. See http://stackoverflow.com/questions/7270502/how-to-log-all-methods-used-in-ios-app – EricS Aug 05 '14 at 16:59

2 Answers2

0

You could also use NSThread's callStackSymbols.

Documentation available here

Ilanchezhian
  • 17,426
  • 1
  • 53
  • 55
0

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

ramo
  • 609
  • 2
  • 8
  • 14