Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you can intercept the crash in an exception handler then you can write the dump using code: <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms680360%28v=vs.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/windows/desktop/ms680360%28v=vs.85%29.aspx</a></p> <p>Otherwise you need to instruct Dr. Watson to intercept and create the dump for you with particular flags that specify the level of detail the dumps will hold: <a href="http://blogs.technet.com/b/askperf/archive/2007/06/15/capturing-application-crash-dumps.aspx" rel="nofollow">http://blogs.technet.com/b/askperf/archive/2007/06/15/capturing-application-crash-dumps.aspx</a> and <a href="http://social.technet.microsoft.com/wiki/contents/articles/8103.application-crash-dump-analysis-windows-7.aspx" rel="nofollow">http://social.technet.microsoft.com/wiki/contents/articles/8103.application-crash-dump-analysis-windows-7.aspx</a> and <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181%28v=vs.85%29.aspx" rel="nofollow">msdn</a></p> <p>To do this from the command line you need to do something like:</p> <pre><code>cdb -pn myApp.exe -c ".symfix;.reload;.dump /ma c:\memdump\crash.dmp;qd" </code></pre> <p>This presumes that cdb.exe path is searchable, you may need to prefix with full path like:</p> <pre><code>C:\Program Files (x86)\Debugging Tools for Windows (x86)\cdb -pn myApp.exe -c ".symfix;.reload;.dump /ma c:\memdump\crash.dmp;qd" </code></pre> <p>So the commands here</p> <pre><code>cdb -pn --&gt;attaches cdb to your process name myApp.exe -c --&gt;execute command .symfix --&gt;fix microsoft symbols .reload --&gt;reload .dump /ma c:\memdump\crash.dmp --&gt; write minidump to location (the flags /ma is effectively everything you want) qd --&gt;quit and detach </code></pre> <p>You may not need some of these commands, you can remove them if not needed.</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. This table or related slice is empty.
    1. 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