[Pyobjc-dev] instrumentObjcMessageSends
Brought to you by:
ronaldoussoren
|
From: Jon C. <jon...@gm...> - 2008-01-06 20:21:15
|
Many apologies if this is the wrong place to ask this question, but I couldn't find anywhere else. I'd like to call the instrumentObjcMessageSends(YES) function which is part of the objc runtime so that I can log all objc-messages, but I can't figure out how to access it from python. This function has the same effect as NSObjCMessageLoggingEnabled=TRUE (see http://developer.apple.com/technotes/tn2004/tn2124.html) I can create and call objc classes, but instrumentObjcMessageSends is a free function. I'd appreciate any pointers as to how to call this function, or runtime free functions in general, for that matter. Thanks, Jon BTW, the all the links from the sourceforge examples page http://pyobjc.sourceforge.net/examples/index.php are broken. |