Using MFC Debugging Support
This section covers the following topics:
MFC Debugging Support
Diagnostic Features
Using the ASSERT_VALID Macro
Tracking Memory Allocations
Detecting Memory Leaks
Using Object Dumps
How Can I View the Call Stack After an MFC Assert?
Send feedback
to MSDN.
Look here
for MSDN Online resources.