We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

AfxDebugBreak (MFC)

Call this function to cause a break (at the location of the call to AfxDebugBreak) in the execution of the debug version of your MFC application.

void AfxDebugBreak( );

AfxDebugBreak has no effect in release versions of an MFC application and should be removed. This function should only be used in MFC applications. Use the Win32 API version, DebugBreak, to cause a break in non-MFC applications.

Header: afxver_.h