views:

14

answers:

1

Suppose I'm calling class method + (NSStatusBar *)systemStatusBar:

NSStatusBar *sB;

sB=[NSStatusBar systemStatusBar];

My question is what's the best way to trace that class method call and find out what it is calling in terms of other methods and arguments?

Does this entail advanced disassembly beyond what XCode provides?

Thanks

A: 

Use DTrace, which is behind the Instruments. See an excellent introduction in this MacTech article.

Yuji