Showing posts with label EXC_BAD_ACCESS. Show all posts
Showing posts with label EXC_BAD_ACCESS. Show all posts
Thursday, April 1, 2010
copy + paste > 2 release ugyanazon > EXC_BAD_ACCESS
Arra rajottem, hogy valahol 2 release volt, de azt valamiert nehezen talaltam meg, hogy a custom UITableViewCell dealloc-jaban csinaltam ezt. Igy utolag persze mar tok egyertelmu.
Labels:
dealloc,
EXC_BAD_ACCESS,
release,
UITableViewCell
Tuesday, December 8, 2009
Kamocsay Lajos: how to debug EXC_BAD_ACCESS on iPhone
Itt van az egesz, de roviden a lenyeg:
If you set the NSZombiEnabled environment variable, the Objective C runtime will leave a dummy object behind for every deallocated object. When the zombie object is called, execution stops and you can see the message that was sent to the object and the call stack that tells you where the message came from (it doesn’t tell you where you over released the object, but knowing where the object is called from should get you pretty close to the problem.)
If you set the NSZombiEnabled environment variable, the Objective C runtime will leave a dummy object behind for every deallocated object. When the zombie object is called, execution stops and you can see the message that was sent to the object and the call stack that tells you where the message came from (it doesn’t tell you where you over released the object, but knowing where the object is called from should get you pretty close to the problem.)
Labels:
debug,
EXC_BAD_ACCESS,
NSZombiEnabled
Subscribe to:
Posts (Atom)