Debugging and Exception Classes

 

The latest version of this topic can be found at Debugging and Exception Classes.

These classes provide support for debugging dynamic memory allocation and for passing exception information from the function where the exception is thrown to the function where it is caught.

Use classes CDumpContext and CMemoryState during development to assist with debugging, as described in Debugging MFC Applications. Use CRuntimeClass to determine the class of any object at run time, as described in the article Accessing Run-Time Class Information. The framework uses CRuntimeClass to create objects of a particular class dynamically.

See Also

Class Overview