Re: using po in debugger Xcode 5.1.1
Re: using po in debugger Xcode 5.1.1
- Subject: Re: using po in debugger Xcode 5.1.1
- From: João Varela <email@hidden>
- Date: Sat, 17 May 2014 11:17:43 +0100
I don't think that is the problem. The problem is that NSRect is not an NSObject-based object, but a C struct and po may not work properly with structs, as according to the docs of LLDB po prints out the description of a ObjC description.
You can check that here (search for NSRect):
and here (search for po):
HTH
>I think that rects have structs inside them so you'll have to expose them yourself.
>That's my guess.
>On May 17, 2014, at 2:15 AM, Roland King wrote:
> I have a similar problem today but no amount of casting helps, here's mine
>
> (lldb) po textField.constraints
> error: instance method 'preparedContentRect' has incompatible result types in different translation units ('<unknown type>' vs. 'NSRect' (aka 'CGRect'))
> note: instance method 'preparedContentRect' also declared here
> note: declared here with type 'NSRect' (aka 'CGRect')
> error: 1 errors parsing _expression_
_______________________________________________
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