• 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: Stopping on objc exceptions in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping on objc exceptions in Xcode


  • Subject: Re: Stopping on objc exceptions in Xcode
  • From: Clark Cox <email@hidden>
  • Date: Mon, 26 Jul 2004 10:03:00 -0400

On 7 26, 2004, at 9:49, Mark A. Stratman wrote:

> I'm sorry if this answer is painfully obvious, or readily available.
> I tried googling and searching the xcode documentation.
>
> How can you stop debugging on objective c exceptions in Xcode?
> Essentially what I'm trying to do is find out where it's occurring (a
> "*** -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)"
> message, which I assume is an NSRangeException).
>
> I see the "stop on C++ catch/throw" options, but can't find a way to
> make it stop on NSExceptions. Does anyone know, or can push me in the
> right direction?

Put a breakpoint at "-[NSException raise]"


--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Stopping on objc exceptions in Xcode
      • From: Koen van der Drift <email@hidden>
References: 
 >Stopping on objc exceptions in Xcode (From: "Mark A. Stratman" <email@hidden>)

  • Prev by Date: File/Directory Notifications
  • Next by Date: Re: Stopping on objc exceptions in Xcode
  • Previous by thread: Stopping on objc exceptions in Xcode
  • Next by thread: Re: Stopping on objc exceptions in Xcode
  • Index(es):
    • Date
    • Thread