Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
We recommend using Visual Studio 2017

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.

Requirements

Header: afxver_.h

Show: