Marko> I had some memory related bug I could not locate in my
    Marko> code.  (When changing NSObject dealloc to nop all
    Marko> works). My intuition says multiple frees but I don't know
    Marko> how this can happen with retain/release. Probably there is
    Marko> memory corruption but hardly it is direct (I don't use c
    Marko> library functions, only Foundation, never play directly
    Marko> with pointers, never malloc, never use C arrays). 

    Marko> It is possible I use some autorelease incorrectly but how 
    Marko> can I locate my error (I have only 7k lines of code) ?


 [NSObject enableDoubleReleaseCheck: YES];

might help you finding objects released too many times; functions from
NSDebug.h might help you finding objects not released enough times.

_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to