Re: debugging AutoLayout exception with no build errors
Re: debugging AutoLayout exception with no build errors
- Subject: Re: debugging AutoLayout exception with no build errors
- From: Conrad Shultz <email@hidden>
- Date: Thu, 05 Nov 2015 10:31:54 -0800
> On Nov 5, 2015, at 6:50 AM, 2551 <email@hidden> wrote:
>
>> or set a breakpoint on -[NSView(NSConstraintBasedLayout) engine:willBreakConstraint:dueToMutuallyExclusiveConstraints:].
>
> Not sure I’m still following along. Are we talking symbolic breakpoint here? I tried that, but the app just builds and runs fine on 10.11.
>
>
>> Either way, select that frame of the stack. Then, try to examine the third parameter, which seems like it would be the array of constraints.
>
>
> Ken, this is beyond my ken. Sure, I know what frames and stacks are, but I don’t understand where/how/when I’m supposed to be selecting these frames and stacks in the debugger when no debug session appears in Xcode. Or are you suggesting I export the project to my 10.9 install and run it from Xcode there? In theory I could do that (I think there’s an old Xcode install on that machine), but I’m not sure if the project will build if it was made in 10.11, will it?
You can attach LLDB to a running application (or set it to attach-on-launch) and set breakpoints therein without needing to actually build.
-Conrad
_______________________________________________
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