• 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: What's the easiest way to break on an Obj-C exception?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the easiest way to break on an Obj-C exception?


  • Subject: Re: What's the easiest way to break on an Obj-C exception?
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 15 Nov 2007 01:17:21 -0700


On Nov 14, 2007, at 10:20 PM, Rick Mann wrote:

How can I get Xcode to stop on exceptions in my Cocoa app? I heard something about setting a breakpoint in some magical method, but why isn't there a menu item to turn this modality on?


If you're using Leopard, then break on objc_exception_throw.

If you're using Tiger or earlier, then you have to break on both - [NSException raise] and objc_exception_throw.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request




_______________________________________________ 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
References: 
 >What's the easiest way to break on an Obj-C exception? (From: Rick Mann <email@hidden>)

  • Prev by Date: troubles with including an .so file
  • Next by Date: SVN: how to specify a path different from the project path to use for svn calls
  • Previous by thread: Re: What's the easiest way to break on an Obj-C exception?
  • Next by thread: troubles with including an .so file
  • Index(es):
    • Date
    • Thread