• 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: Stability on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stability on Snow Leopard


  • Subject: Re: Stability on Snow Leopard
  • From: Kirk Kerekes <email@hidden>
  • Date: Wed, 23 Sep 2009 07:24:02 -0500

I _strongly_ suggest that you (at least temporarily) use the LLVM/ CLANG compilers in XCode, and use the "build and analyze" option that is then available. By the time you have fixed every issue that CLANG finds, I suspect that 90% of your crashes will have evaporated, as well as quite a few issues that you haven't discovered yet. This is going to be much more productive than trying to analyze stack crawls.

The static analyzer is particularly adept at finding retain-release issues and obscure uninitialized variable issues -- both of which are notorious for causing difficult-to-pin-down misbehaviors.

AFAIK the only consistent false positive in the current version is that it blindly assumes that the {NSData,NSString} methods with 'NoCopy' in the name are returning a retained object. If you don't happen to be using any of these, (or any macros that hide relevant code, because the analyzer appears to operate only on unexpanded code) you should be golden.


_______________________________________________

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: Stability on Snow Leopard
      • From: BJ Homer <email@hidden>
  • Prev by Date: Re: clicks in webview
  • Next by Date: Re: drawing/masking one image with the alpha value from another
  • Previous by thread: Re: Stability on Snow Leopard
  • Next by thread: Re: Stability on Snow Leopard
  • Index(es):
    • Date
    • Thread