Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Install WinDbg. You need to make sure you get the correct version x86 or x64 depending on your dump. Here is a direct link to the <a href="http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi" rel="noreferrer">download</a> for x86.</p> <p>On that, you need to ensure you took the correct dump. You can use Task Manager to create the dump file (right click on process -> Create Dump File). If you're on 64bit and your process is x86 use the 32bit version of Task Manager (C:\Windows\SysWOW64\taskmgr.exe) to take the dump file. See <a href="http://wallaceturner.com/debugging-dump-files-created-on-another-machine" rel="noreferrer">my article</a> for more info on taking dump files, eg if you're on XP and need to use windbg to create the dump file.</p> <p><strong>warning</strong> there's a fairly steep learning curve and things might not work exactly as described here so come back with any issues.</p> <p>I'm assuming you're using .NET4 given you can open the dump in Visual Studio. Here's a <em>very</em> quick guide to help you work with your dmp file:</p> <p>1) Run WinDbg, set symbols path (File -> Symbol Search Path) to</p> <pre><code>SRV*c:\symbols*http://msdl.microsoft.com/download/symbols </code></pre> <p>2) Open Crash dump or drag your .DMP file onto WinDbg.</p> <p>3)type this into the command window</p> <pre><code>.loadby sos clr </code></pre> <p>(FYI, for .NET 2, the command should be <code>.loadby sos mscorwks</code>)</p> <p>4) then type this</p> <pre><code>!dumpheap -stat </code></pre> <p>which lists the type of objects and their count. looks something like this: </p> <p><img src="https://i.stack.imgur.com/pzmNh.jpg" alt="enter image description here"></p> <p>You will have to analyze this in the context of your application and see if anything appears unusual. </p> <p>There is <em>much</em> more to windbg, google is your friend.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload