• 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
can I catch an EXC_BAD_ACCESS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can I catch an EXC_BAD_ACCESS?


  • Subject: can I catch an EXC_BAD_ACCESS?
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 24 Jun 2006 10:20:27 -0700
  • Thread-topic: can I catch an EXC_BAD_ACCESS?

Under certain conditions (out of my control) my app gets an EXC_BAD_ACCESS.
I know where this is happening and have wrapped that part of the code in a
@try/@catch but it doesn't help: the program stops dead and the @catch stuff
never runs. Is there a way to catch this sort of thing?

Also: In Xcode, when this happens, I fall into the debugger window. I would
prefer instead to have the app crash so that I can see what the end user
would see. How can I arrange for that?

Thanks. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: can I catch an EXC_BAD_ACCESS?
      • From: "Peter CK" <email@hidden>
    • Re: can I catch an EXC_BAD_ACCESS?
      • From: Cameron Hayne <email@hidden>
    • Re: can I catch an EXC_BAD_ACCESS?
      • From: Jeremy Dronfield <email@hidden>
  • Prev by Date: Objective-C++ Exceptions (was: PICT control problems)
  • Next by Date: Re: can I catch an EXC_BAD_ACCESS?
  • Previous by thread: Re: Scripts Menu ReplaceAllText Causes Editor to Break?
  • Next by thread: Re: can I catch an EXC_BAD_ACCESS?
  • Index(es):
    • Date
    • Thread