• 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
using po in debugger Xcode 5.1.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using po in debugger Xcode 5.1.1


  • Subject: using po in debugger Xcode 5.1.1
  • From: Owen Hartnett <email@hidden>
  • Date: Thu, 15 May 2014 13:54:48 -0400

Often if I try to use po in ways that had usually worked fine in the past, I get something like:

po URLcomponentDict
error: instance method 'safeObjectForKey:' has incompatible result types in different translation units ('NSDictionary *' vs. 'id')

Looked like the old have-to-typecast it, so I tried that:

po (NSDictionary *) URLcomponentDict
error: instance method 'safeObjectForKey:' has incompatible result types in different translation units ('NSDictionary *' vs. 'id')
note: instance method 'safeObjectForKey:' also declared here
error: 1 errors parsing _expression_

Workaround:  If I right click in the variables list, and choose Print Description, it does the right thing:

Printing description of URLcomponentDict:
{
    callId = "5770b91e-d326-4d6d-b94b-e6847b5255b6";
    callSubject = "incoming call from inPerson web portal";
    callerImageUrl = "http://insite/In2ItemService_Platform/image/getThumbnailImage/in2Type/LOOMIS_SAYLES_PERSON/idType/USER_NAME/idValue/inPersonWeb.json";
    callerName = "inPerson Web";
    callerUserName = inPersonWeb;
    messageType = "INPERSON.INCOMINGCALL";
}

Printing dictionaries always seemed to work fine with po, but not lately.  Is there something I should be doing differently?

Thanks,

-Owen
 _______________________________________________
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

  • Follow-Ups:
    • Re: using po in debugger Xcode 5.1.1
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: What is the status for NSStackView support in Xcode 5 IB
  • Next by Date: Re: debugging unrecognized selector
  • Previous by thread: What is the status for NSStackView support in Xcode 5 IB
  • Next by thread: Re: using po in debugger Xcode 5.1.1
  • Index(es):
    • Date
    • Thread