加载SOS扩展调试加载、SOS

由网友(干掉妃子你就是皇后)分享简介:我试图加载SOS扩展在Visual Studio 2010(.NET框架4)没有成功一个vb.net应用程序。首先,我发现下面的文章提示我输入!加载SOS 的在immidiate窗口。这导致了以下错误消息:命令时出错:扩展C:\ WINDOWS \ Microsoft.NET \ Framework64 \ v4.0....

我试图加载SOS扩展在Visual Studio 2010(.NET框架4)没有成功一个vb.net应用程序。

首先,我发现下面的文章提示我输入!加载SOS 的在immidiate窗口。这导致了以下错误消息:

 命令时出错:扩展C: WINDOWS  Microsoft.NET  Framework64  v4.0.30319  sos.dll无法加载(错误193)
 

接下来,我发现了一个article提示的 .loadby SOS CLR 的。这给了我下面的错误:

 方法参数必须用括号括起来。
 

如何加载呢?

解决方案 .NET应用程序调试 原理 工具 方法

您在64位版本的Windows上运行。调试与sos.dll是不可能的,当你的程序是64位的还有,Visual Studio是一个32位进程。

修正:项目+属性,编译选项卡,向下滚动,高级,目标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:WindowsMicrosoft.NETFramework64v4.0.30319sos.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.

阅读全文

相关推荐

最新文章