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.<p>On Linux, I&#x27;ve seen some people use asm(&quot;int 3&quot;) (which is what a debugger would use for software breakpoints).