<!-- ***************************************************************************
* Debugging Microsoft .NET 2.0 Applications
* Copyright © 1997-2006 John Robbins All rights reserved.
**************************************************************************** -->
<!-- Break on ExitProcess ADPlus configuration file. -->
<ADPlus>
  <Settings>
    <!-- Set the mode to CRASH. -->
    <RunMode>CRASH</RunMode>
    <!-- Do the work, don't tell me about it. -->
    <Option>Quiet</Option>
  </Settings>
  <Exceptions>
    <!-- Don't dump on first chance exceptions. -->
    <Option>
      NoDumpOnFirstChance
    </Option>
  </Exceptions>
  <Breakpoints>
    <NewBP>
      <!-- Set the breakpoint on ExitProcess. -->
      <Address>
        kernel32!ExitProcess
      </Address>
      <!-- A normal breakpoint. -->
      <Type>
        BP
      </Type>
      <!-- When hit, do a full memory minidump and walk the call stacks. -->
      <Actions>
        FullDump;
        Stacks;
      </Actions>
      <!-- After doing the actions, continue on and let the application end. -->
      <ReturnAction>
        G
      </ReturnAction>
    </NewBP>
  </Breakpoints>
</ADPlus>
