Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Visual Studio 2005

This function causes a debug breakpoint exception to be inserted.

void __cdecl __debugbreak(void);



The breakpoint transfers control to the exception handler.

Routine Required header Architecture



x86, ARM, SH-4, MIPS

© 2015 Microsoft