Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just in case this might help someone else, below is the <a href="http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx" rel="nofollow noreferrer">ADPlus</a> config file I came up with. Looking at it now, I'm not sure that !runaway has any effect. Attached when an ASP.NET app that throws a StackOverflowException is running, this will generate "1st chance StackOverflow full" and "1st chance Process Shut Down full" .dmp files in the specified OutputDir. Open the first file with <a href="http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx" rel="nofollow noreferrer">Windbg</a>, and run ".loadby sos mscorwks" followed by "!clrstack" to see what might be causing the stack overflow.</p> <pre><code>&lt;ADPlus&gt; &lt;Settings&gt; &lt;RunMode&gt;CRASH&lt;/RunMode&gt; &lt;OutputDir&gt;C:\Dumps&lt;/OutputDir&gt; &lt;ProcessName&gt;w3wp.exe&lt;/ProcessName&gt; &lt;/Settings&gt; &lt;Exceptions&gt; &lt;Option&gt;FullDumpOnFirstChance&lt;/Option&gt; &lt;Option&gt;MiniDumpOnSecondChance&lt;/Option&gt; &lt;Option&gt;NoDumpOnFirstChance&lt;/Option&gt; &lt;Option&gt;NoDumpOnSecondChance&lt;/Option&gt; &lt;Config&gt; &lt;Code&gt;AllExceptions&lt;/Code&gt; &lt;Actions1&gt;Void&lt;/Actions1&gt; &lt;Actions2&gt;Void&lt;/Actions2&gt; &lt;ReturnAction1&gt;GN&lt;/ReturnAction1&gt; &lt;ReturnAction2&gt;GN&lt;/ReturnAction2&gt; &lt;/Config&gt; &lt;Config&gt; &lt;!-- av = AccessViolation ch = InvalidHandle ii = IllegalInstruction dz = IntegerDivide c000008e = FloatingDivide iov = IntegerOverflow lsq = InvalidLockSequence sov = StackOverflowException eh = CPlusPlusEH * = UnknownException clr = NET_CLR bpe = CONTRL_C_OR_Debug_Break ld = DLL_Load ud = DLL_UnLoad epr = Process_Shut_Down sbo = Stack_buffer_overflow --&gt; &lt;Code&gt;sov;sbo&lt;/Code&gt; &lt;Actions1&gt;Log;Time;Stack;FullDump;EventLog&lt;/Actions1&gt; &lt;CustomActions1&gt;!runaway&lt;/CustomActions1&gt; &lt;Actions2&gt;Log;Time;Stack;FullDump;EventLog&lt;/Actions2&gt; &lt;CustomActions2&gt;!runaway&lt;/CustomActions2&gt; &lt;!-- G = go GN = go unhandled exception GH = go handled exception Q = quit QD = quit and detach --&gt; &lt;ReturnAction1&gt;GN&lt;/ReturnAction1&gt; &lt;ReturnAction2&gt;GN&lt;/ReturnAction2&gt; &lt;/Config&gt; &lt;Config&gt; &lt;Code&gt;clr&lt;/Code&gt; &lt;Actions1&gt;Void&lt;/Actions1&gt; &lt;Actions2&gt;Log;Time;Stack;FullDump;EventLog&lt;/Actions2&gt; &lt;ReturnAction1&gt;GN&lt;/ReturnAction1&gt; &lt;ReturnAction2&gt;GN&lt;/ReturnAction2&gt; &lt;/Config&gt; &lt;Config&gt; &lt;Code&gt;epr&lt;/Code&gt; &lt;Actions1&gt;Log;Time;Stack;FullDump;EventLog&lt;/Actions1&gt; &lt;Actions2&gt;Void&lt;/Actions2&gt; &lt;ReturnAction1&gt;GN&lt;/ReturnAction1&gt; &lt;ReturnAction2&gt;GN&lt;/ReturnAction2&gt; &lt;/Config&gt; &lt;/Exceptions&gt; &lt;/ADPlus&gt; </code></pre>
    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