• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: program crashes because of a variable declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: program crashes because of a variable declaration
      • From: Martin Batholdy <email@hidden>
References: 
 >program crashes because of a variable declaration (From: Martin Batholdy <email@hidden>)

  • Prev by Date: Re: Get|SetControlProperty() equivalent
  • Next by Date: Doc kind from extension
  • Previous by thread: Re: program crashes because of a variable declaration
  • Next by thread: Re: program crashes because of a variable declaration
  • Index(es):
    • Date
    • Thread