将 WINDBG 与 Silverlight 4.0.60831.0 结合使用

发布于 2024-12-12 01:41:28 字数 561 浏览 0 评论 0原文

我刚刚将我的计算机升级到 Silverlight 版本 4.0.60831.0,看看它是否有助于解决我遇到的一些内存泄漏问题。 现在,当我尝试使用 WinDbg 并尝试加载 SOS.dll 时,我意识到 .60831 版本没有 SOS.dll。我加载了以前的 4.0.60531.0 版本,但是当我尝试转储堆时,出现以下错误:

SOS 的版本与您正在调试的 CLR 版本不匹配。请 加载与您正在调试的 CLR 版本相匹配的 SOS 版本。

CLR 版本:4.0.60831.0

SOS 版本:4.0.60531.0

我尝试了 .loadby 命令,但也不成功

0:028> .loadby sos coreclr

对 LoadLibrary(c:\Program Files (x86)\Microsoft Silverlight\4.0.60831.0\sos) 的调用失败,Win32 错误 0n126 “找不到指定的模块。” 请检查您的调试器配置和/或网络访问。 这是有道理的,因为该目录中没有 SOS.dll 文件。

有什么地方我错过了吗?

提前致谢

I just upgraded my machine to Silverlight version 4.0.60831.0 to see if it would help with some Memory leaking issues that I'm seeing.
Now when I try to use WinDbg and attempt to load the SOS.dll I realize that there is no SOS.dll for the .60831 version. I loaded the previous 4.0.60531.0 version, but when I attempt to dumpheap, I get the following error:

The version of SOS does not match the version of CLR you are debugging. Please
load the matching version of SOS for the version of CLR you are debugging.

CLR Version: 4.0.60831.0

SOS Version: 4.0.60531.0

I tried the .loadby command and that was unsuccessful as well

0:028> .loadby sos coreclr

The call to LoadLibrary(c:\Program Files (x86)\Microsoft Silverlight\4.0.60831.0\sos) failed, Win32 error 0n126
"The specified module could not be found."
Please check your debugger configuration and/or network access.
This makes sense because there is no SOS.dll file in that directory.

Is there something I missed somewhere?

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧人九事 2024-12-19 01:41:28

Silverlight 4 的 sos.dll 附带 Silverlight 4 开发人员运行时

sos.dll for Silverlight 4 comes with Silverlight 4 Developer Runtime.

海螺姑娘 2024-12-19 01:41:28

http://go.microsoft.com/fwlink/?LinkID=146060

它将下载 Silverlight_Developer.exe,其中包含 sos.dll 4.0.60831.0
这是 Silverlight 相应的开发人员运行时。

http://go.microsoft.com/fwlink/?LinkID=146060

It will download Silverlight_Developer.exe which will contain sos.dll 4.0.60831.0
which is the corresponding developer runtime for Silverlight.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文