美文网首页
debug 调试环境变量

debug 调试环境变量

作者: miaohy | 来源:发表于2020-10-17 15:06 被阅读0次
    objc[71872]: OBJC_HELP: describe available environment variables
    objc[71872]: OBJC_HELP is set
    objc[71872]: OBJC_PRINT_OPTIONS: list which options are set
    objc[71872]: OBJC_PRINT_OPTIONS is set
    objc[71872]: OBJC_PRINT_IMAGES: log image and library names as they are loaded
    objc[71872]: OBJC_PRINT_IMAGE_TIMES: measure duration of image loading steps
    objc[71872]: OBJC_PRINT_LOAD_METHODS: log calls to class and category +load methods
    objc[71872]: OBJC_PRINT_INITIALIZE_METHODS: log calls to class +initialize methods
    objc[71872]: OBJC_PRINT_RESOLVED_METHODS: log methods created by +resolveClassMethod: and +resolveInstanceMethod:
    objc[71872]: OBJC_PRINT_CLASS_SETUP: log progress of class and category setup
    objc[71872]: OBJC_PRINT_PROTOCOL_SETUP: log progress of protocol setup
    objc[71872]: OBJC_PRINT_IVAR_SETUP: log processing of non-fragile ivars
    objc[71872]: OBJC_PRINT_VTABLE_SETUP: log processing of class vtables
    objc[71872]: OBJC_PRINT_VTABLE_IMAGES: print vtable images showing overridden methods
    objc[71872]: OBJC_PRINT_CACHE_SETUP: log processing of method caches
    objc[71872]: OBJC_PRINT_FUTURE_CLASSES: log use of future classes for toll-free bridging
    objc[71872]: OBJC_PRINT_PREOPTIMIZATION: log preoptimization courtesy of dyld shared cache
    objc[71872]: OBJC_PRINT_CXX_CTORS: log calls to C++ ctors and dtors for instance variables
    objc[71872]: OBJC_PRINT_EXCEPTIONS: log exception handling
    objc[71872]: OBJC_PRINT_EXCEPTION_THROW: log backtrace of every objc_exception_throw()
    objc[71872]: OBJC_PRINT_ALT_HANDLERS: log processing of exception alt handlers
    objc[71872]: OBJC_PRINT_REPLACED_METHODS: log methods replaced by category implementations
    objc[71872]: OBJC_PRINT_DEPRECATION_WARNINGS: warn about calls to deprecated runtime functions
    objc[71872]: OBJC_PRINT_POOL_HIGHWATER: log high-water marks for autorelease pools
    objc[71872]: OBJC_PRINT_CUSTOM_CORE: log classes with custom core methods
    objc[71872]: OBJC_PRINT_CUSTOM_RR: log classes with custom retain/release methods
    objc[71872]: OBJC_PRINT_CUSTOM_AWZ: log classes with custom allocWithZone methods
    objc[71872]: OBJC_PRINT_RAW_ISA: log classes that require raw pointer isa fields
    objc[71872]: OBJC_DEBUG_UNLOAD: warn about poorly-behaving bundles when unloaded
    objc[71872]: OBJC_DEBUG_FRAGILE_SUPERCLASSES: warn about subclasses that may have been broken by subsequent changes to superclasses
    objc[71872]: OBJC_DEBUG_NIL_SYNC: warn about @synchronized(nil), which does no synchronization
    objc[71872]: OBJC_DEBUG_NONFRAGILE_IVARS: capriciously rearrange non-fragile ivars
    objc[71872]: OBJC_DEBUG_ALT_HANDLERS: record more info about bad alt handler use
    objc[71872]: OBJC_DEBUG_MISSING_POOLS: warn about autorelease with no pool in place, which may be a leak
    objc[71872]: OBJC_DEBUG_POOL_ALLOCATION: halt when autorelease pools are popped out of order, and allow heap debuggers to track autorelease pools
    objc[71872]: OBJC_DEBUG_DUPLICATE_CLASSES: halt when multiple classes with the same name are present
    objc[71872]: OBJC_DEBUG_DONT_CRASH: halt the process by exiting instead of crashing
    objc[71872]: OBJC_DISABLE_VTABLES: disable vtable dispatch
    objc[71872]: OBJC_DISABLE_PREOPTIMIZATION: disable preoptimization courtesy of dyld shared cache
    objc[71872]: OBJC_DISABLE_TAGGED_POINTERS: disable tagged pointer optimization of NSNumber et al.
    objc[71872]: OBJC_DISABLE_TAG_OBFUSCATION: disable obfuscation of tagged pointers
    objc[71872]: OBJC_DISABLE_NONPOINTER_ISA: disable non-pointer isa fields
    objc[71872]: OBJC_DISABLE_INITIALIZE_FORK_SAFETY: disable safety checks for +initialize after fork
    

    相关文章

      网友评论

          本文标题:debug 调试环境变量

          本文链接:https://www.haomeiwen.com/subject/vcxfmktx.html