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

Re: Stupid newbie breakpoint on [NSException raise] question


  • Subject: Re: Stupid newbie breakpoint on [NSException raise] question
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 14 Dec 2009 12:45:33 -0800


On Dec 14, 2009, at 12:31 PM, Paul Summermatter wrote:

According to the output in the debugger, I have a breakpoint set on NSException raise:
Pending breakpoint 3 - "-[NSException raise]" resolved
However, I never hit that breakpoint. 

That method isn't the only way an exception can be raised. CoreFoundation functions usually use an alternate entry point. The best thing to do is to use the "Stop On Objective-C Exceptions" item in the Run menu. If you're on an earlier Xcode, set a breakpoint at objc_exception_throw.

—Jens
 _______________________________________________
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: Stupid newbie breakpoint on [NSException raise] question
      • From: Paul Summermatter <email@hidden>
References: 
 >Stupid newbie breakpoint on [NSException raise] question (From: Paul Summermatter <email@hidden>)

  • Prev by Date: Stupid newbie breakpoint on [NSException raise] question
  • Next by Date: Re: Stupid newbie breakpoint on [NSException raise] question
  • Previous by thread: Stupid newbie breakpoint on [NSException raise] question
  • Next by thread: Re: Stupid newbie breakpoint on [NSException raise] question
  • Index(es):
    • Date
    • Thread