加载SOS扩展调试 [英] Load SOS extension for debugging
问题描述
我试图加载SOS扩展在Visual Studio 2010(.NET框架4)没有成功一个vb.net应用程序。
首先,我发现下面的文章提示我输入!加载SOS 的在immidiate窗口。这导致了以下错误消息:
命令时出错:扩展C:\ WINDOWS \ Microsoft.NET \ Framework64 \ v4.0.30319 \ sos.dll无法加载(错误193)
接下来,我发现了一个<一个href="http://debuggingblog.com/wp/2009/07/07/windbg-extension-sos-in-clr-40net-framework-40-ctp-net-runtime-dll-renamed-and-sos-commands-just-got-richer/">article提示的 .loadby SOS CLR 的。这给了我下面的错误:
方法参数必须用括号括起来。
如何加载呢?
解决方案您在64位版本的Windows上运行
修正:项目+属性,编译选项卡,向下滚动,高级,目标CPU = 86
I'm trying to load SOS extension in visual studio 2010 (.Net framework 4) in a vb.net app without success.
First i found the following article suggesting that I type "!load sos" in the immidiate window. It resulted in the following error message:
Error during command: extension C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos.dll could not load (error 193)
Next I found an article suggesting .loadby sos clr. That gave me the following error:
Method arguments must be enclosed in parentheses.
How do I load it?
You are running on a 64-bit version of Windows. Debugging with sos.dll is not possible when your program is 64-bit as well, Visual Studio is a 32-bit process.
Fix: Project + Properties, Compile tab, scroll down, Advanced, Target CPU = x86.
这篇关于加载SOS扩展调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!