Hi Richard, Adam,
First, thanks a lot for your answers !
Le 2 f�vr. 05, � 22:19, Adam Fedor a �crit :
I am currently in big trouble trying to find the cause of a "double free" which occurs when releasing an autorelease pool. Has anybody any idea to know how to identify where an autoreleased objects was freed (released, I guess) before being autoreleases ?
[NSObject+enableDoubleReleaseCheck:] might well help you.
This helped me to see that there is actually a double release check, but I would like the debugger to break on the raising of the "NSGenericException". On OSX, there is the "NSHangOnUncaughtException = YES;" provided by NSDebug, but it does not seem to be on GNUstep :/
Is there any workaround ?
I think you could also try setting the env var
NSZombieEnabled
I did not manage to find documentation on this, and it does not seem to have any effect. What is this used for ?
TIA,
-- S�bastien
-- �And never can a man be more disastrously in death than when death itself shall be deathless.� <http://www.type-z.org> -- St. Augustine
_______________________________________________ Help-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnustep
