Debugging Techniques, Problems, and Solutions
This section covers the following topics:
Tools and Tips
Resolving Compiler and Linker Errors
Using the Debug Heap from C++
Using the Debug Version Versus the Base Version
Using Macros for Verification and Reporting
Solving Buffer Overwrites and Memory Leaks
Writing Your Own Debug Hook Functions
Using C Run-Time Library Debugging Support
Using MFC Debugging Support
Using Object Dumps
How Can I View the Call Stack After an MFC ASSERT?
How Can I Debug Access Violations When Running My Program Standalone?
How Can I Debug an Access Violation?
How Can I Find Out If My Pointers are Corrupting a Memory Address?
How Can I Find Out Where My Pointer Is Getting Changed?
If Halted in MFC, How Can I Get Back to the Function That Called MFC?
How Can I Find Out Who Is Passing a Wrong Parameter Value?
When Calling a Function Hundreds of Times, Which Call Failed?
How Can I Debug an Active Process?
Where Can I Look Up Win32 Error Codes?
Can I Debug an .EXE Without a Project or Workspace?
Can I Debug a .DLL Without a Project or Workspace?