On 27 Jan 2010, at 11:09, Jean-Daniel Dupas wrote:
> Wow, there is some people here who don't know the fantastic TN2124  ;-)
> 
> http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html

Now my life has meaning!

OBJC_PRINT_REPLACED_METHODS generates a lot of references to 
CoreFoundation/Quartz/OSA framework category replacements.

> 
> If you want to full list of objc debug env var, set the OBJC_HELP env var and 
> launch an application.
> 
The 10.6.2 env variables are:

objc[4764]: Objective-C runtime debugging. Set variable=YES to enable.
objc[4764]: OBJC_HELP: describe available environment variables
objc[4764]: OBJC_PRINT_OPTIONS: list which options are set
objc[4764]: OBJC_PRINT_IMAGES: log image and library names as they are loaded
objc[4764]: OBJC_PRINT_LOAD_METHODS: log calls to class and category +load 
methods
objc[4764]: OBJC_PRINT_INITIALIZE_METHODS: log calls to class +initialize 
methods
objc[4764]: OBJC_PRINT_RESOLVED_METHODS: log methods created by 
+resolveClassMethod: and +resolveInstanceMethod:
objc[4764]: OBJC_PRINT_CLASS_SETUP: log progress of class and category setup
objc[4764]: OBJC_PRINT_PROTOCOL_SETUP: log progress of protocol setup
objc[4764]: OBJC_PRINT_IVAR_SETUP: log processing of non-fragile ivars
objc[4764]: OBJC_PRINT_VTABLE_SETUP: log processing of class vtables
objc[4764]: OBJC_PRINT_VTABLE_IMAGES: print vtable images showing overridden 
methods
objc[4764]: OBJC_PRINT_CACHE_SETUP: log processing of method caches
objc[4764]: OBJC_PRINT_FUTURE_CLASSES: log use of future classes for toll-free 
bridging
objc[4764]: OBJC_PRINT_RTP: log initialization of the Objective-C runtime pages
objc[4764]: OBJC_PRINT_GC: log some GC operations
objc[4764]: OBJC_PRINT_PREOPTIMIZATION: log preoptimization courtesy of dyld 
shared cache
objc[4764]: OBJC_PRINT_CXX_CTORS: log calls to C++ ctors and dtors for instance 
variables
objc[4764]: OBJC_PRINT_EXCEPTIONS: log exception handling
objc[4764]: OBJC_PRINT_ALT_HANDLERS: log processing of exception alt handlers
objc[4764]: OBJC_PRINT_REPLACED_METHODS: log methods replaced by category 
implementations
objc[4764]: OBJC_PRINT_DEPRECATION_WARNINGS: warn about calls to deprecated 
runtime functions
objc[4764]: OBJC_DEBUG_UNLOAD: warn about poorly-behaving bundles when unloaded
objc[4764]: OBJC_DEBUG_FRAGILE_SUPERCLASSES: warn about subclasses that may 
have been broken by subsequent changes to superclasses
objc[4764]: OBJC_DEBUG_FINALIZERS: warn about classes that implement -dealloc 
but not -finalize
objc[4764]: OBJC_DEBUG_NIL_SYNC: warn about @synchronized(nil), which does no 
synchronization
objc[4764]: OBJC_USE_INTERNAL_ZONE: allocate runtime data in a dedicated malloc 
zone
objc[4764]: OBJC_DISABLE_GC: force GC OFF, even if the executable wants it on
objc[4764]: OBJC_DISABLE_VTABLES: disable vtable dispatch
objc[4764]: OBJC_DISABLE_PREOPTIMIZATION: disable preoptimization courtesy of 
dyld shared cache

Jonathan_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to