What is D's "__debugbreak()" equivalent?

Simon simon.vanbernem at yahoo.de
Wed Oct 27 16:54:49 UTC 2021


Microsofts C++ compiler provides the __debugbreak function, which 
on x86 emits interrupt 3, which will cause the debugger to halt. 
What is the equivalent in D? I tried using raise(SIGINT) from 
core.stdc.signal, but that just closes the debugger (I thought 
that was the same, seems like I was wrong).


More information about the Digitalmars-d-learn mailing list