Is there a 64-bit version of psscor2?

I am trying to debug .NET 3.5, a 32-bit application running on Windows 7/64 bit with WinDbg. I would like to use psscor2, but I cannot download it. I cannot load sos either.

When I try to load psscor2, I get this error:

> .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.

When I try to load sos, I get this error:

> .loadby sos mscorwks
Unable to find module 'mscorwks'

I assume that the 64-bit version of WinDbg cannot load 32-bit DLL extensions like psscor2 and sos. But I could not find the download for the 32-bit version of WinDbg or the 64-bit version of psscor2.

PS: I (sort of) solved the problem: I installed the Windows 7 SDK in a 32-bit virtual machine and copied the 32-bit version of WinDbg from there to my development PC. But there must be an easier way to do this!

+3
1

32- , 32- WinDbg 32- SOS/PSSCOR2, 64- Windows.

64- , Wow64, , , 32- . - , wow64exts 32- !sw. , 64- 32- , 32- WinDbg.

+4

Source: https://habr.com/ru/post/1770097/


All Articles