VC6.0调试的时候老是出现
one or more breakpoints are not positioned on valid lines.
these breakpoints have been moved to the next valid line.真的让人蛋疼啊~
解决如下:
1.确保是在DEBUG模式下编译并运行的程序.
2.确保DEBUG模式下编译的可执行文件路径和调试程序运行的路径一样,前一个路径位于"Project settings"->"Link"页面的"Output file name"项,后一个路径位于"Project settings"->"Debug"页面的"Executable for debug session"项.在你的项目上点击右键选择"Properties"菜单可进入"Project settings"