[其他] visual studio中breakpoint为什么不能被hit

使用visual studio时设置的breakpoint始终不能中断,请问有没有遇到相同问题的人,有什么解决办法?
先谢了
Share |
Share

我的断点设置在main函数的第一个赋值语句上
我查了一下debug目录,下面没有生成.exe文件,也没有.pdb文件

TOP

without debug可以正常运行。
编译和连接的时候有一行
Die zwischen- und Ausgabedateien fuer das Projekt"***" mit der Konfiguration "Debug|Win32" werden geloescht.
不知道这个是不是正常

TOP