• 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 07:43:28 -0700

On Jun 6, 2011, at 7:13 AM, Roland King wrote:

> I've tried that and it didn't work, in the same way that running an app and turning on breakpoints later doesn't always work. Adding an exception handler at the top level has caught exceptions I just didn't catch before.

Huh. Well, I guess you told me! I was just making an assumption that it would have worked in this case. m.

>
> On 06-Jun-2011, at 9:50 PM, Matt Neuburg wrote:
>
>>
>> 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

References: 
 >Re: Project fails to attach... (From: Matt Neuburg <email@hidden>)
 >Re: Project fails to attach... (From: Roland King <email@hidden>)
 >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: -O4 a.k.a. link-time optimization
  • Previous by thread: Re: Project fails to attach...
  • Next by thread: XCode3 and XCode4 on same machine?
  • Index(es):
    • Date
    • Thread