DebuggingExtensions icon indicating copy to clipboard operation
DebuggingExtensions copied to clipboard

Seems to fail to load pstacks in WinDbg Preview 1.22

Open informatorius opened this issue 3 years ago • 5 comments

0: kd> .load C:\WinDbg\pstacks\pstacks.dll 0: kd> !pstacks No export pstacks found

informatorius avatar Oct 19 '22 06:10 informatorius

Is there a workaround?

thombrink avatar Oct 25 '22 13:10 thombrink

Yes, you load gsose.dll :-)

.load C:\WinDbg\gsose\gsose.dll
!help
!pstacks

informatorius avatar Oct 25 '22 13:10 informatorius

Ah I'm sorry, I was trying to load gsose to use pstacks, but got the following message: image image

windbg 1.2210.3001.0

thombrink avatar Oct 25 '22 13:10 thombrink

Hi @thombrink!

pstacks.dll is a simple console application you use outside of WinDBG.

The pstacks command is in gsose.dll that you load in WinDB (exactly what you did)

I just tried it with WinDBG 1.2210.3001.0 without any problem: image

  • open a memory dump
  • load gsose.dll
  • type !pstacks

Are you live debugging a running process? What is the version of the .NET runtime?

chrisnas avatar Oct 25 '22 14:10 chrisnas

No I'm debugging a .dmp file from a .net 6 exe on windows 11

thombrink avatar Oct 25 '22 15:10 thombrink