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 07:56:01 -0800
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/
> On Feb 4, 2016, at 6:59 AM, Dave <email@hidden> wrote:
>
> XCode 7.2 (7C68).
> Mac OS X (not iOS).
>
> Hi,
>
> I sent the following message to the XCode List, but now I’m wondering if there is a bug in my code that is causing this weird behaviour? What could cause then Debugger to think that a regular object is an Array/Dictionary?
>
> The object in question is subclass from a custom base class. Apart from being, NSCopying and NSCoding complaint there isn’t really anything strange about it.
>
> I’m trying to debug an App. I have a regular object that contains NSString's, NSArray’s and NSDictionary’s. I have a method that does an alloc/init to get a new one, but after the init call, the debugger shows the Object as LTWNodeInfo @“0 objects” as if its an array and if I try to inspect it, it won’t show be any of the properties. If I print it to the log is says its the right class.
>
> What could someone tell me why this is happening and how to fix it?
>
> I’m trying to get something finished for tomorrow and I can’t debug my code. I’ve tried Cleaning the Build Folder, Cleaning the Project, Restarting XCode,
>
> Thanks in advance
> Dave
>
_______________________________________________
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