"Internet Explorer has stopped working" when selecting F12 Developer tools for a specific site
<p>Internet explorer 11 (latest) crashes with the message "Internet Explorer has stopped working" when opening developer tools and and I have my site open.
Chrome, Edge doesn't give the problem.</p>

<p>All the functionality in my site works correctly.</p>

<p>This is only with my site (intranet site)</p>

<p><a href="https://i.stack.imgur.com/tCOfY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tCOfY.png" alt="enter image description here"></a></p>

<p>When I debug it I get</p>

<blockquote>
  <p>Unhandled exception at 0x5B514C32 (mshtml.dll) in iexplore.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x06EC2FFC).</p>
</blockquote>

<p>How can I troubleshoot what in my site causes this behavior?</p>

<p>I have tried resetting Internet Explorer and disabling all add-ins but because the issue is not to do with other sites I can only think the issue is to do someone specific in the html/ javascript in my site.</p>