title Debugging Support Classes | Microsoft Docs ms.custom ms.date 11/04/2016 ms.reviewer ms.suite ms.technology cpp-windows ms.tgt_pltfrm ms.topic article f1_keywords vc.classes.debug dev_langs C++ helpviewer_keywords debugging memory leaks, MFC memory allocation, debugging dynamic debugging [MFC], classes for debugging memory allocation, debugging dynamic allocation dynamic memory allocation debugging [MFC], memory leaks memory leaks, MFC debug classes ms.assetid d79e084a-8326-4251-8700-4efac07c511e caps.latest.revision 9 author mikeblome ms.author mblome manager ghogen 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