无法debug程序
下载了一下别人的源代码,编译通过,但是无法debug这些源程序,不知道是为什么?
运行程序时,弹出一个对话框,说:
‘match.ex ' does not contain debug information. (Symbol information corrupt.) Click ok to debug anyway.
然后debug的output窗口有输出:
'match.exe ': Loaded 'C:\Documents and Settings\Andy\Desktop\Temp\match\Release\match.exe ', Symbol information corrupt.
我查了一下msdn,是这么说的:
This dialog box appears when you attempt to debug a project that has no symbolic debug information available. This may happen if:
You attempt to debug a Retail configuration of a project rather than the Debug configuration.
You 've changed the Debug configuration settings in the Property Pages dialog box.
You are opening an .EXE as a project.
但是我source code都有了,怎么会出现这种问题呢?
我重新建了一个project, 把那些source code 包含了进来,但是还是同样的问题。我google 搜了很长时间,也没有找到相关的信息。大家有什么意见? 谢谢了。
如果需要,我可以把source code发到邮箱了。谢谢了。
[解决办法]
编译的时候没有选择输出调试信息文件或者调试信息文件的设置不正确。仔细查工程中的设置情况。
[解决办法]
编译参数中有个/FR(包含所有浏览信息),不能是/Fr.
连接参数中有个/DEBUG.
我这里的VS是中文的,不知道英文的是怎样的。你自己仔细找一下看看
若再不行,全部重新编译(Rebuild All)试试