Debugging Support Classes

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

MFC provides the following classes to help you debug dynamic memory allocation problems.

CDumpContext
Provides a destination for diagnostic dumps.

CMemoryState
Structure that provides snapshots of memory use. Also used to compare earlier and later memory snapshots.

See Also

Class Overview