Windbg 有64位版本的psscor2吗?

Windbg 有64位版本的psscor2吗?,windbg,sos,Windbg,Sos,我正在尝试使用WinDbg调试运行在Windows 7/64位上的.NET 3.5 32位应用程序。我想使用psscor2,但无法加载它。我也无法加载sos 当我尝试加载psscor2时,出现以下错误: > .load psscor2 The call to LoadLibrary(psscor2) failed, Win32 error 0n193 "%1 ist keine zulässige Win32-Anwendung." Please check your debugg

我正在尝试使用WinDbg调试运行在Windows 7/64位上的.NET 3.5 32位应用程序。我想使用psscor2,但无法加载它。我也无法加载sos

当我尝试加载psscor2时,出现以下错误:

> .load psscor2
The call to LoadLibrary(psscor2) failed, Win32 error 0n193
    "%1 ist keine zulässige Win32-Anwendung."
Please check your debugger configuration and/or network access.
> .loadby sos mscorwks
Unable to find module 'mscorwks'
当我尝试加载sos时,出现以下错误:

> .load psscor2
The call to LoadLibrary(psscor2) failed, Win32 error 0n193
    "%1 ist keine zulässige Win32-Anwendung."
Please check your debugger configuration and/or network access.
> .loadby sos mscorwks
Unable to find module 'mscorwks'
我的猜测是64位版本的WinDbg无法加载像psscor2和sos这样的32位扩展DLL。但是我找不到32位版本的WinDbg或64位版本的psscor2的下载


PS:我已经(某种程度上)解决了这个问题:我在一个32位虚拟机中安装了Windows7SDK,并将32位版本的WinDbg复制到我的开发PC上。但必须有一种更简单的方法来做到这一点

如果要调试32位应用程序,即使在64位Windows上,也应使用32位版本的WinDbg并加载32位版本的SOS/PSSCOR2


如果使用64位版本,最终将调试Wow64进程,这意味着您必须通过一些附加循环才能将应用程序作为32位进程进行调试。如果出于某种原因必须这样做,则还需要加载wow64exts扩展,并使用
切换到32位模式!sw
命令。即使您这样做,在32位应用程序中使用64位版本也存在一些问题,因此我建议您使用32位版本的WinDbg