Top "Debugbreak" questions

DebugBreak is the user-mode break routine of Microsoft Windows.

Is there a portable equivalent to DebugBreak()/__debugbreak?

In MSVC, DebugBreak() or __debugbreak cause a debugger to break. On x86 it is equivalent to writing "_asm int 3", on …

c++ portability debugbreak