How to collect WinDBG dump for VS/ReSharper crash

  1. start "windbg x86" executable file
  2. hit F6 to attach to Visual Studio
  3. enter the following commands:
    • sxd av
    • .logopen /t c:\logs\Output.txt
  4. hit F5 so Visual Studio will be running again
  5. execute the repro steps
  6. after it crashes, please enter the following commands one by one:
    • .loadby sos clr
    • !PrintException
    • !ClrStack
    • ~* e !ClrStack
    • ~* k

Then send Output file to ReSharper support.

 

Dump files:

  • In case you were asked to collect a mini dump file, please execute the following command:

    .dump /mdhiptu c:\dump\windbg_crash_dump.dmp

    Please create "dump" folder in a C disk root before executing a command.

  • In case you were asked to collect a full dump file, please execute the following command:

    .dump /map c:\dump\windbg_crash_fulldump.dmp

    Please create "dump" folder in a C disk root before executing a command.

Note: attach "C:\Windows\Microsoft.NET\Framework\v4.0.30319\sos.dll" from your machine to a support ticket

 

Hint: Uploading Large Files for JetBrains Support Team

 

3 comments

"start "windbg x86" executable file"

 

How would I do that?

1

To get WinDbg, you have to install WDK from Microsoft.

You can download wdksetup.exe from here: https://go.microsoft.com/fwlink/p/?LinkId=845980

Edited by Christoph Moser
0

Whenever I try to follow the steps:

0:065> .logopen /t c:\logs\Output.txt
Log file could not be opened

Is that normal? After following steps, no log file is provided

 

 

 

0

Please sign in to leave a comment.

Have more questions?

Submit a request