VC++ 给你的代码强制加一个硬断点

  类似与Javascript的 debugger;

  Hard code a debugger breakpoint

  If you need to insert a hard breakpoint in your code (perhaps because you need to attach to a process), simply add the following line to your code.

  __asm int 3;

F5调试运行效果:点击 Continue继续
  
 
原文地址:https://www.cnblogs.com/MakeView660/p/8442625.html