• 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: HowTo Break in an NSAssert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HowTo Break in an NSAssert


  • Subject: Re: HowTo Break in an NSAssert
  • From: "Jeremy W. Sherman" <email@hidden>
  • Date: Mon, 20 Apr 2009 11:29:06 -0400

Set breakpoints on:
  • objc_exception_throw
  • -[NSException raise]

Ensure that symbols have been loaded prior to hitting the failing assertion, otherwise you'll race right past it.

—Jeremy

On Mon, Apr 20, 2009 at 9:20 AM, Andreas Grosam <email@hidden> wrote:
How can I convince the debugger to break in a certain NSAssert macro?

I can set a break point in this macro - but with no effect. Is there another way to break when an NSAssert fires?



Thanks for tips


Regards
Andreas
_______________________________________________
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

 _______________________________________________
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: HowTo Break in an NSAssert
      • From: Andreas Grosam <email@hidden>
References: 
 >HowTo Break in an NSAssert (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: How to debug *** -[NSCFString count]: unrecognized selector sent to instance
  • Next by Date: Export Makefiles
  • Previous by thread: HowTo Break in an NSAssert
  • Next by thread: Re: HowTo Break in an NSAssert
  • Index(es):
    • Date
    • Thread