Re: Crash with ARC enabled on Xcode 6.1
Re: Crash with ARC enabled on Xcode 6.1
- Subject: Re: Crash with ARC enabled on Xcode 6.1
- From: Alex Zavatone <email@hidden>
- Date: Wed, 22 Oct 2014 17:36:14 -0400
You can add an exception breakpoint and on the bottom of the debug Navigator, drag the little slider all the way to the right to see the code execution path that is causing your crash.
A exception breakpoint isn't added to any line in code, but traps when any NS exception is thrown. You should be able to see the offending method call or condition in the Console.
Besides showing us the error and code at triggered it, that's all I can do. The exception breakpoint should help you find out where in your code the issue is happening.
Cheers.
Sent from my iPad. Please pardon typos.
On Oct 22, 2014, at 5:10 PM, Beinan Li <email@hidden> wrote:
> Hi CocoaDev,
>
> Not sure if it's the right list to post to.
>
> My iOS app is coded in Obj-C++ with the ObjC part using ARC.
> It seemed to work well with Xcode 6.0.x and iOS 8.0 SDK.
>
> However, on Xcode 6.1 and iOS 8.1 SDK it starts to crash right away.
> And it stops crashing if I turn off ARC.
>
> I wonder if there are changes in Xcode 6.1 that I need to know about
> to fix this.
>
> Thanks,
> Beinan
> _______________________________________________
>
> 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
_______________________________________________
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