You can use the debugger to reveal the contents of Core Foundation objects, but how you use it depends on your development platform.
Mac OS X: Because Core Foundation
uses opaque types, CFShow
is
a convenient tool for discovering the contents of objects. Call CFShow
within
the debugger or programmatically on an object to print a description
of that object. The description is appropriate to the type of object.
For example, calling CFShow
on
CFNumber prints a number; for a CFArray, CFShow
prints
information general to the array as well as information on each
element of the array.
Mac OS 9: Because you cannot use the debugger
to call functions (such as CFShow
)
at runtime, you must use other techniques to examine memory. Consult
the Core Foundation release notes for the latest debugging tips
and techniques.
Last updated: 2003-01-17