2 ms·
For next time, Windows has the DebugBreak function which will stop the program and (if you have a debugger attached) act the same way as stopping on that line.
by revelation 11y ago
For next time, Windows has the DebugBreak function which will stop the program and (if you have a debugger attached) act the same way as stopping on that line.
On Linux, I've seen some people use asm("int 3") (which is what a debugger would use for software breakpoints).