• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Weird Problem, is this an XCode Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird Problem, is this an XCode Bug?


  • Subject: Weird Problem, is this an XCode Bug?
  • From: Dave <email@hidden>
  • Date: Thu, 04 Feb 2016 14:59:10 +0000

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


  • Follow-Ups:
    • Re: Weird Problem, is this an XCode Bug?
      • From: Alex Zavatone <email@hidden>
    • Re: Weird Problem, is this an XCode Bug?
      • From: Richard Charles <email@hidden>
    • Re: Weird Problem, is this an XCode Bug?
      • From: "Gary L. Wade" <email@hidden>
  • Prev by Date: Protocol extensions returning self
  • Next by Date: Location of XCode of Apple Developer Site?
  • Previous by thread: Re: Protocol extensions returning self
  • Next by thread: Re: Weird Problem, is this an XCode Bug?
  • Index(es):
    • Date
    • Thread