开发者

Tracing/finding function calls and arguments made by an AppKit class method

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜