Hacker News new | ask | show | jobs
by lzybkr 2707 days ago
Visual C++ has the __debugbreak() intrinsic function.

If you have JIT debug enabled, you will be prompted to attach your debugger to the process when hitting such a breakpoint.