• 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: Breaking on [NSException raise]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking on [NSException raise]


  • Subject: Re: Breaking on [NSException raise]
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Sun, 28 Oct 2007 11:37:03 -0700


On 平成 19/10/28, at 11:09, Tony Cate wrote:

In previous versions of xCode, execution would stop at the line of an error. So far I can't figure out how to make that happen with version 3. I'm hunting an error where a dictionary or array count is failing because it's now a string... I'd rather not put a break point on every instance of [object count]. Any pointers?

Put your breakpoint on "objc_exception_throw", all objc exceptions now go through this function, regardless of whether they are thrown with - raise or @throw.



-- Clark S. Cox III email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Breaking on [NSException raise]
      • From: Tony Cate <email@hidden>
References: 
 >Breaking on [NSException raise] (From: Tony Cate <email@hidden>)

  • Prev by Date: Re: Leopard now available on ADC
  • Next by Date: Re: Breaking on [NSException raise]
  • Previous by thread: Breaking on [NSException raise]
  • Next by thread: Re: Breaking on [NSException raise]
  • Index(es):
    • Date
    • Thread