This documentation is archived and is not being maintained.
MFC Debugging Techniques
Visual Studio 2005
This topic applies to:
| Visual Studio Edition | Visual Basic | C# | C++ | J# |
| Express | No | No | Native | No |
| Standard | No | No | Native | No |
| Pro/Team | No | No | Native | No |
If you are debugging an MFC program, these debugging techniques may be useful.
In This Section
- AfxDebugBreak
-
Describes the AfxDebugBreak function, which you can use to hardcode breakpoints in source code.
- The TRACE Macro
-
Discusses and provides examples of the ATLTRACE and MFC TRACE macros, which enable you to display messages from your program in the debugger Output window.
- Detecting Memory Leaks in MFC
-
Provides links to MFC classes and functions that detect memory that is allocated but never deallocated. Links include: tracking memory allocations, enabling memory diagnostics, taking memory snapshots, viewing memory statistics, and object dumps.
Related Sections
Show: