Re: program crashes because of a variable declaration
Re: program crashes because of a variable declaration
- Subject: Re: program crashes because of a variable declaration
- From: Andy Lee <email@hidden>
- Date: Thu, 11 Jun 2009 09:50:54 -0400
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 (email@hidden)
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:
This email sent to email@hidden