Re: I added an exception breakpoint to my app...
Re: I added an exception breakpoint to my app...
- Subject: Re: I added an exception breakpoint to my app...
- From: R <email@hidden>
- Date: Thu, 23 Feb 2012 22:52:16 -0800 (PST)
I created a single view application in Xcode 4, no additions, just the
boilerplate template. The same exception was noted. Maybe an Xcode
bug?
thanks --R
On Feb 22, 11:17 pm, Kyle Sluder <email@hidden> wrote:
> On Wed, Feb 22, 2012 at 7:53 AM, R <email@hidden> wrote:
> > and now see:
>
> > Catchpoint 2 (throw)Pending breakpoint 1 - "objc_exception_throw"
> > resolved
>
> > No further details. The app appears to be fine with no errors or
> > warnings. Is this a problem?
>
> > (SnowLeopard Xcode 4)
>
> This the result of some non-obvious changes made between Xcode 3 and Xcode 4.
>
> 1. "Break on Objective-C exceptions" is on by default, which will
> cause the debugger to break on objc_exception_throw.
> 2. "Show Disassembly When Debugging" is off by default, meaning that
> when you break in the debugger Xcode will select the first frame on
> the stack that contains _your_ code; often times this is the call to
> NSApplicationMain().
>
> The frequency of this question leads me to believe the defaults are
> confusing and should be changed. But for now, the upshot is that you
> can hit Continue and let the exception remain uncaught and logged to
> the console, or you can examine the exception object directly using
> gdb (`po $rsi` on 64-bit Intel).
>
> --Kyle Sluder
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden