ios - Xcode 5 Instruments does not show zombies -
i unable post images don't yet have 10 rep apologies if of vague.
i'm writing arc application mac os x , throws exc_bad_access error. in attempt track down issue, have enabled zombie objects under 'diagnostics' tab.
i startup instruments (zombies)
finally record , cause app crash , error generated. however, instead of getting zombie indicators in instruments, app problem report app i'm profiling saying app 'quit unexpectedly'. no stack trace produced me navigate , problem report isn't of use me.
could exc_bad_access error caused other dereferencing pointer memory has been released? should expect zombies in case when there exc_bad_access error? if how can see zombie? else need configure zombies?
thanks
could exc_bad_access error caused other dereferencing pointer memory has been released?
yes. error means program tried dereference pointer refers location program isn't allowed access. could because points object no longer exists, can happen when use pointer without setting valid in first place, or when incorrectly try use non-pointer value pointer.
should expect zombies in case when there exc_bad_access error?
no, nszombieenabled helps find cases you're trying access deallocated object. won't other cases produce exc_bad_access.
Comments
Post a Comment