Re: Debugger "Variable is not a CFDictionary"
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