title: Visual Studio loses first stack frames on StackOverflowException
body: <p>I am running a web crawler and parsing the page content with HtmlAgilityPack and randomly get a StackOverflowException in that C# library, but when I try to see the Call Stack list up to my code, I get:</p>
  
  <blockquote>
    <p><em>"The maximum number of stack frames supported by Visual Studio has been exceeded."</em></p>
  </blockquote>
  
  <p>Side notes: I'm already using <a href="https://stackoverflow.com/questions/12666282/work-around-a-stackoverflowexception/15303119#15303119">sjdirect's</a> HAP fix.</p>
  
  <p>Here is a snapshot (it repeats like this all the way).</p>
  
  <p><img src="https://i.imgur.com/bXvXvpo.png" alt=""></p>
  
  <p>Is there a way to enlarge the number of stack frames Visual Studio can track, to at least as much as the application can allocate before filling its stack? Or can the reverse be done, namely reduce the stack size of the debugged application?</p>