objective c - Cocoa program exits with no crash -
i managed create bug cocoa program exiting.
-[nsapplication terminate:] apparently not called.
nor -[nsexception init].
there no crash. seeing in gdb exit() being called directly nsapplicationmain without going through normal [nsapplication terminate] path.
any ideas how debug and/or how (seemingly "impossible" behavior) happen?
thanks in advance cocoa newb.
i start judicious use of breakpoints. narrow down last place code seen before faux crash , start looking around area memory issues. whenever have strange behavior, it's entirely due strange memory bug.
Comments
Post a Comment