在Visual Studio 2005中,在quickwatch窗口中调用fopen失败

时间:2013-08-28 19:07:04

标签: c++ debugging visual-studio-2005 visual-studio-debugging

我无法调用功能" fopen"在" QuickWatch"在Visual Studio 2005的调试器中。每次在QuickWatch窗口中显示以下内容。

fopen("temp1.txt","w+")

它会出现以下错误。

  

错误:符号" fopen"找不到

我使用Dependency Walker检查了" fopen"的定义来自" msvcr80d.dll"。我还检查了菜单 Debug - > Windows - > Modules 显示正在加载此DLL文件的符号信息,如下所示:

DLL路径:C:\ Windows \ winsxs \ x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.762_none_24c8a196583ff03b \ msvcp80d.dll

加载PDB文件:C:\ Windows \ symbols \ _dll \ msvcp80d.i386.pdb

就像尝试一样,我添加了#34;符号加载信息"的路径。 as" C:\ user \ Install \ VS2005 \ VC \ ce \ Dll \ x86 \"。我希望这个PDB文件有一个" fopen"符号,它会让我打电话给#34; fopen"来自调试器。但是,符号信息仍仅从上述位置加载。

我还可以在Visual Studio的设置中尝试其他任何内容吗?或者其他任何东西,也许就像强迫Visual Studio选择" msvcr80d.lib"而不是相应的DLL文件。我已经看到它在我们这个时代工作,不幸的是我无法尝试更高版本的Visual Studio。

0 个答案:

没有答案
相关问题