Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Debuggers
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, - CFShowis a convenient tool for discovering the contents of objects. Call- CFShowwithin 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- CFShowon CFNumber prints a number; for a CFArray,- CFShowprints 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.
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-17