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继续
  

 

 

posted on 2018-02-11 16:57  我来乔23  阅读(533)  评论(0编辑  收藏  举报

导航