• 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
Re: Debugger "Variable is not a CFDictionary"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger "Variable is not a CFDictionary"


  • Subject: Re: Debugger "Variable is not a CFDictionary"
  • From: P Teeson <email@hidden>
  • Date: Thu, 02 Jun 2011 14:04:02 -0400

On 2011-06-02, at 12:33 PM, Fritz Anderson wrote:
I have the following code:

#define kAppleReadWriteMedia "Apple read/write Media"
CFMutableDictionaryRef classesToMatch;
classesToMatch = IOServiceNameMatching(kAppleReadWriteMedia);

After execution of the above code the debugger summary field shows:
"Variable is not a CFDictionary"

Is this a bug in the debugger?

This is the summary column in the variables inspector?
Yes

It's not _always_ accurate, and there are reasons to be charitable about that.
See if it clears up when you step to a line at which the value is actually used.

Now it doesn't happen anymore.
It must have been some of my experimental code which I've now removed.

Do you have a reason to suspect the value is not what it should be?
No - the code does exactly what I expected.

Another reason I'd expect later code not to do what you seem to want is that I'd be surprised
if there were a service with the name "Apple read/write Media."
There is- surprise<grin>.

sorry for the noise.

respect....

Peter

 _______________________________________________
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

References: 
 >Debugger "Variable is not a CFDictionary" (From: P Teeson <email@hidden>)
 >Re: Debugger "Variable is not a CFDictionary" (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Debugger "Variable is not a CFDictionary"
  • Next by Date: Trimming the Destination popup in Edit Scheme
  • Previous by thread: Re: Debugger "Variable is not a CFDictionary"
  • Next by thread: Trimming the Destination popup in Edit Scheme
  • Index(es):
    • Date
    • Thread