阻止Visual Studio尝试加载特定DLL的符号 [英] Prevent Visual Studio from trying to load symbols for a particular DLL

查看:646
本文介绍了阻止Visual Studio尝试加载特定DLL的符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Visual Studio 2005设置为使用Microsoft的符号服务器。我还安装了 UltraMon ,它将钩子DLL注入到每个进程中。每当我开始调试我的 MFC 应用程序时,Visual Studio说:

 加载C:\Program Files \UltraMon\RTSUltraMonHookX32.dll的符号...

任何从眨眼到几十秒的东西。它不会找到这些符号...我可以告诉它不要打扰吗?



(我尝试创建一个空的 RTSUltraMonHookX32.pdb 文件,但Visual Studio看到它不好,进行查找。)

解决方案

以非常精细的方式执行此操作,但您可以禁用自动符号加载,然后通过模块窗口(Debug - > Windows - >模块)手动选择要加载的符号。



禁用自动符号加载




  • 工具 - >选项 - >调试 - >符号

  • 勾选手动加载符号时搜索上述位置


I have Visual Studio 2005 set up to use Microsoft's symbol servers. I also have UltraMon installed, which injects a hook DLL into every process. Whenever I start debugging my MFC application, Visual Studio says:

"Loading symbols for C:\Program Files\UltraMon\RTSUltraMonHookX32.dll..."

for anything from the blink of an eye to several tens of seconds. It's never going to find those symbols... Can I tell it not to bother looking?

(I tried creating an empty RTSUltraMonHookX32.pdb file, but Visual Studio sees that it's not good and carries on looking.)

解决方案

You can't do this in a very fine grained fashion but you can disable automatic symbol loading and then manually choose the symbols to load via the Modules window (Debug -> Windows -> Modules).

To Disable Automatic Symbol loading

  • Tools -> Options -> Debugging -> Symbols
  • Check "Search the above locations only when symbols are loaded manually"

这篇关于阻止Visual Studio尝试加载特定DLL的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆