Re: Weird Problem, is this an XCode Bug?
Re: Weird Problem, is this an XCode Bug?
- Subject: Re: Weird Problem, is this an XCode Bug?
- From: "Gary L. Wade" <email@hidden>
- Date: Thu, 04 Feb 2016 08:28:27 -0800
The command po is for objects and p is for intrinsics; just add a typedef on those. If what you mean by properties are actually instance variables, use the -> operator on the object.
po [anObject aPropertyThatIsAnObject]
p (BOOL )[anObject aBoolMethod]
p anObject->aBooliVar
Unless you've modified your Xcode application or its constituent tools, you're not to blame for this. File the duplicate bug, and work around it like everyone else. There are some issues with Xcode worth tracking down; this isn't one of those.
--
Gary L. Wade (Sent from my iPad)
http://www.garywade.com/
> On Feb 4, 2016, at 8:12 AM, Dave <email@hidden> wrote:
>
> Jeez, really? I need a broken debugger like a hole in the dead at the moment. Any idea what causes it and how to get rid of it? Using “po” won’t help as it’s a custom object, I need to look at the properties. Any ideas how I can do this?
>
> I was wondering if it could be caused by a bug in my code that causes the debugger to go AWOL or something?
>
> All the Best
> Dave
>
>> On 4 Feb 2016, at 15:56, Gary L. Wade <email@hidden> wrote:
>>
>> You're not alone. I see this every so often and just make do with the console view to see what I need (po is your friend). If you have more than one project open, you might try closing those before restarting Xcode. Another flake that Xcode has is putting the wrong project's source file in the Debug tab, a problem exacerbated by some of the projects I open from others who never bothered to change the names of their source files from template names; the worst offender is ViewController.m.
>>
>> The only way to fix this is to file a bug against Xcode in http://bugreport.apple.com/ and wait for it to be marked as a duplicate and hope it gets fixed by Xcode 8.
>> --
>> Gary L. Wade (Sent from my iPad)
>> http://www.garywade.com/
>
>
> _______________________________________________
>
> 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