title: How to debug a stackoverflowexception in .NET
body: <p><strong>Scenario:</strong></p>
  
  <p>I've just been on a roll and implemented a bunch of code, but when I execute it I get thrown a StackOverflowException? The StackOverflowException doesn't have a stacktrace so I'm stuck. I know why a stack overflow might occur, but to fix it I need to know where it's root is. </p>
  
  <p>All I'm getting is: An unhandled exception of type 'System.StackOverflowException' occurred in tag-you're-it.dll</p>
  
  <p><strong>Options:</strong></p>
  
  <ol>
  <li>Scan through all the changes and try to pin point the problem. (could be slow)</li>
  <li>Use a debugger and step through till you find the problem. (probably better than 1.)</li>
  <li>Use a profile and look for the most called methods.</li>
  <li>?</li>
  </ol>
  
  <p><strong>PS:</strong></p>
  
  <p>This is a hypothetical situation (although not too uncommon) and therefore no code is available. </p>