3.14 Debugging Functions

Debugging functions help locate programming errors in an application or library. The following briefly describes these functions:

Function Description  
DebugBreak Forces a break to the debugger.  
FatalAppExit Displays a message box and then terminates the application.  
FatalExit Displays the current state of Windows and prompts for instructions on how to proceed.  
OutputDebugString Sends a debugging message to the debugger if present, or to the AUX device if the debugger is
not present.
 
ValidateCodeSegments Determines whether any code segments have been altered by random memory overwrites.  
ValidateFreeSpaces Checks free segments in memory for valid contents.