Export (0) Print
Expand All


Microsoft Specific

The __debugbreak compiler intrinsic, similar to the DebugBreak, causes a breakpoint in your code and the user will be prompted to run the debugger. This is a portable, Win32 way to cause a breakpoint.

For example:

main() {

This is similar to:

main() {
   __asm {
      int 3

on an x86 machine.

END Microsoft Specific

See Also

Compiler Intrinsics | C++ Keywords

© 2014 Microsoft