• 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: Making failed NSAsserts crash an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Making failed NSAsserts crash an app


  • Subject: RE: Making failed NSAsserts crash an app
  • From: Squ Aire <email@hidden>
  • Date: Thu, 27 Aug 2009 16:46:59 +0000
  • Importance: Normal

Thank you both for the info so far.

However, do you have any idea how to accomplish what I actually want to do? Is my original idea of forcing asserts to crash maybe bad, which is why noone even thought of suggesting a way to do it?

How do people normally do it? Do they just make a crash reporter framework catch an exception like Rob suggested? What crash reporter framework would you recommend?

Just some general info on this and related things, for a newbie who wants hand out his simple app for some other people to use, would be appreciated.


>> You could raise exceptions instead of generating assertion failures.
>> Exceptions are caught by several of the crash reporting frameworks.
>> You could probably map the NSAssert macros to exception-generation
>> code for your beta builds.
>
>
> The NSAssert macros raise exceptions by default in debug builds.



--.
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx_______________________________________________

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: Making failed NSAsserts crash an app
      • From: Kyle Sluder <email@hidden>
References: 
 >Making failed NSAsserts crash an app (From: Squ Aire <email@hidden>)
 >Re: Making failed NSAsserts crash an app (From: Rob Keniger <email@hidden>)
 >Re: Making failed NSAsserts crash an app (From: Graham Cox <email@hidden>)

  • Prev by Date: Starting editing for a Row as soon as it is Added.
  • Next by Date: Re: Reasons why QL would fail to create thumbnail?
  • Previous by thread: Re: Making failed NSAsserts crash an app
  • Next by thread: Re: Making failed NSAsserts crash an app
  • Index(es):
    • Date
    • Thread