On Jun 11, 2009, at 9:38 AM, Martin Batholdy wrote:
But it crashes on startup when I add something like;

@interface AppleScriptHandler : NSObject {
        NSDictionary *errorInfo;
        NSArray *test;
        NSString *appFolder, *filePathFinderFiles;      
}

It's rare that an app crashes silently. Is anything printed to the console? Do you have a crash log? If you run the app in the debugger, what line of code does it crash on?

Also, are there any compiler warnings that you are ignoring?

These are the very first things you should look at when you're debugging, and if you're still stumped, this is the kind of information that would help us help you. When you post a question, try to include relevant information.

--Andy

_______________________________________________

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

Reply via email to