how to dump (print) an OSDictionary to the console / log?
Question
I would like to inspect the contents of an OSDictionary from my kext. is there a convenient way to print the contents to system.log or similar? (ala CFShow()) ?
thx->adv,
|K<
Solution
I have found a code-snippet to assist in this (which prints the dict keys):
static void printDictionaryKeys (OSDictionary * inDictionary, char * inMsg)
the source is here: printDictionaryKeys()
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow