Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

AfxDump (MFC)

Call this function while in the debugger to dump the state of an object while debugging.

void AfxDump( 
   const CObject* pOb  


A pointer to an object of a class derived from CObject.

AfxDump calls an object's Dump member function and sends the information to the location specified by the afxDump variable. AfxDump is available only in the Debug version of MFC.

Your program code should not call AfxDump, but should instead call the Dump member function of the appropriate object.

Header: afx.h

Community Additions

© 2015 Microsoft