-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
1. change
Extended array of methods best not to touch. Without that, xtrace causes an exception after a while:
'expection' being: _os_unfair_lock_recursive_abort
I added retainWeakReference, _tryRetain, autorelease, isEqual:, hash and I added back the dealloc related methods
see:
else if ( name[0] == '.' ||
[nameStr isEqualToString:@"description"] || [nameStr hasPrefix:@"_description"] ||
[nameStr isEqualToString:@"isEqual:"] || [nameStr hasPrefix:@"hash"] ||
[nameStr isEqualToString:@"retainWeakReference"] || [nameStr isEqualToString:@"_tryRetain"] || [nameStr isEqualToString:@"retain"] || [nameStr isEqualToString:@"release"] || [nameStr isEqualToString:@"autorelease"] ||
[nameStr isEqualToString:@"_isDeallocating"] || [nameStr isEqualToString:@"dealloc"] || [nameStr hasPrefix:@"_dealloc"] )
; // best avoided
2. change
Made formatValue function not call isKindOfClass on proxy objects to avoid a crash when proxies implement isKindOfClass
other
- added #pragma clang diagnostic ignored "-Wignored-attributes" so the NS_RETAINS macro on the templated c function works in all cases
- had to remove the last pop pragma to make it compile
Metadata
Metadata
Assignees
Labels
No labels