• 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
How to catch and log EXC_BAD_ACCESS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to catch and log EXC_BAD_ACCESS?


  • Subject: How to catch and log EXC_BAD_ACCESS?
  • From: Oleg Krupnov <email@hidden>
  • Date: Mon, 26 Jan 2009 13:33:49 +0200

For the beta-testing purposes, I'd like my app to handle the situation
when the EXC_BAD_ACCESS exception occurs, and treat it gracefully -
i.e. send a crash report and perhaps terminate.

Currently, the app just hangs and needs the user to send Force Quit to
terminate the app.

I tried to wrap the problematic code with @try/@catch, but
EXC_BAD_ACCESS seems to be a special kind of exception that is not
trapped this way.

Any advice is welcome!
_______________________________________________

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: How to catch and log EXC_BAD_ACCESS?
      • From: Ken Thomases <email@hidden>
    • Re: How to catch and log EXC_BAD_ACCESS?
      • From: Scott Ribe <email@hidden>
    • Re: How to catch and log EXC_BAD_ACCESS?
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: Getting iPod icon, was Getting the network Machine Icon
  • Next by Date: Re: How to catch and log EXC_BAD_ACCESS?
  • Previous by thread: Re: Location of the standard Apple icons in IB
  • Next by thread: Re: How to catch and log EXC_BAD_ACCESS?
  • Index(es):
    • Date
    • Thread