On Oct 6, 2009, at 11:30 PM, John Baldwin wrote:
When the application crashes on launch, there is no record of the +initialize method being called. When the application launches successfully, there is a record of the +initialize method being called.
I haven't been following the whole thread, but are you assuming that all classes are initialized immediately when the process launches (similar to C++ static initializers)? Because that isn't the way it works. A class isn't initialized until the first time it's used — by creating an instance, calling a class method, or looking up the class by name.
So it's entirely possible that something unrelated to this class is causing a crash before that class ever gets referenced. Are you able to get a backtrace or crash log?
—Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com