使用windbg时调式dll的时候需要将vc60.pdb复制到调用dll程序所在的目录下。不再使用windbg调试的时候总是弹出Find symbols对话框,对话框中显示 “Please enter the path for vc60.pdb.”然后让你给出路径,我给出自己的debug路径,对话框下部会说 “A file with the correct name was found in this directory, but it is not the correct one.”如果选择按钮 “结束”,程序会进入调试,不会有问题。
解决:把所有的断点去掉,再clear一下dubug下的所有内容,rebuilt一下就好了