• 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: Project fails to attach...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project fails to attach...


  • Subject: Re: Project fails to attach...
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 06 Jun 2011 06:50:45 -0700

On Jun 6, 2011, at 6:18 AM, Roland King wrote:

> I've taken to wrapping the main call in all my apps in a try-catch with a log for any exceptions.

This seems a bit over the top. Why not just use an exception breakpoint? Set it to Exception All, Break On Throw, and there you are. Moreover you can promote it to a User breakpoint and now it's present universally in all your projects. I have such a universal exception breakpoint - but it wasn't switched on, because it never occurred to me that my code might be crashing; I thought something was wrong with Xcode. m.

--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


 _______________________________________________
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: Project fails to attach...
      • From: Roland King <email@hidden>
References: 
 >Re: Project fails to attach... (From: Matt Neuburg <email@hidden>)
 >Re: Project fails to attach... (From: Roland King <email@hidden>)

  • Prev by Date: Re: Project fails to attach...
  • Next by Date: Re: Project fails to attach...
  • Previous by thread: Re: Project fails to attach...
  • Next by thread: Re: Project fails to attach...
  • Index(es):
    • Date
    • Thread