VC++2010断点无法设置问题

来源:互联网 发布:mac vim 进入编辑模式 编辑:程序博客网 时间:2024/06/07 03:59

最近在VC++2010编译程序时,经常出现warning: The file contains acharacter that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss

虽然不影响最终程序执行的结果,但会导致程序无法在设置的断点处停留。在网上Search,最终用下面的方法完美解决。

解决方法:用记事本打开该文件,以Unicode格式保存。

0 0