Windows 调试工具:Symbol 代理不代理 [英] Debugging Tools for Windows: Symbol Proxy doesn't proxy

查看:26
本文介绍了Windows 调试工具:Symbol 代理不代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Windows 调试工具中的 symproxy.dll 设置符号代理.当我从调试器发出.reload/f"时,找不到任何符号文件.看起来 Symproxy 不会去 Microsoft 符号服务器来实际获取符号.例如,我在 Wireshark 中什么也看不到.

I'm attempting to set up a symbol proxy using symproxy.dll from Debugging Tools for Windows. When I issue ".reload /f" from the debugger, none of the symbol files can be found. It looks like Symproxy isn't going out to the Microsoft Symbol Server to actually get the symbols. I see nothing in Wireshark, for example.

SYMPROXY.DLL 肯定正在加载——我可以在事件日志中看到一些条目,并且 http://my-server/symbols/status 返回看起来有效的信息.

SYMPROXY.DLL is definitely being loaded -- I can see some entries in the Event Log, and http://my-server/symbols/status returns valid-looking information.

据我所知,我已按照文档中的说明进行操作.为什么 symproxy 不去微软的网站?我究竟做错了什么?我需要这个才能工作,因为我正在调试的机器没有外部访问权限.

I've followed the instructions in the documentation as far as I can tell. Why won't symproxy go to Microsoft's site? What am I doing wrong? I need this to work, because the machine on which I'm debugging doesn't have external access.

运行 symproxy 的机器可以访问互联网——我经常用它来调试.在注册表中为 symproxy 配置的符号路径看起来是正确的.无需通过代理即可访问 Internet,而且我也在注册表中进行了配置.

The box on which symproxy is running has Internet access -- I regularly use it for debugging. The symbol path configured in the registry for symproxy looks correct. It doesn't have to go through a proxy to get to the Internet, and I've configured that in the registry as well.

当我在另一个盒子上使用 !sym 嘈杂时,它会联系 symproxy,但只是说找不到文件".这就像 symproxy 只是提供内容,而不是像它应该做的那样对 MS 符号服务器进行旁观.

When I use !sym noisy on the other box, it contacts symproxy, but simply says "file not found". It's like the symproxy is simply serving the content, rather than doing a lookaside to the MS symbol servers, like it's supposed to.

推荐答案

与此同时,我已经在共享机器上安装并配置了 Squid.这似乎有效.我更喜欢使用 symproxy,但我只是没有时间深入研究它为什么不起作用.

In the meantime, I've installed and configured Squid on the shared machine. This seems to work. I'd have preferred to use symproxy, but I just don't have time to dig into why it's not working.

这篇关于Windows 调试工具:Symbol 代理不代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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