"Internet Explorer has stopped working" when selecting F12 Developer tools for a specific site

16

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.

All the functionality in my site works correctly.

This is only with my site (intranet site)

enter image description here

When I debug it I get

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

How can I troubleshoot what in my site causes this behavior?

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.

internet-explorer
asked on Stack Overflow May 16, 2016 by greay • edited May 16, 2016 by Raktim Biswas

8 Answers

8

In my case I had a CSS (font-awesome) file included twice on the layout.cshtml file causing IE to crash every time I press F12.

Removing the duplicate fixed it:

<link rel="stylesheet" type="text/css" href="~/Content/themes/base/css/font-awesome.min.css" />
answered on Stack Overflow Jun 27, 2016 by Noobie3001
6

This bug has been reported to Microsoft and a demo is linked on the page. The Microsoft Edge Team provided the following statement:

Thank you for the feedback. This appears to be fixed in Edge as I am not able to repro this. Please note that we are not working on IE feature bugs any longer unless they are security related. As a result this item will be closed out as not repro to reflect the testing results from Edge.

It doesn't look like we'll see it resolved by Microsoft.

answered on Stack Overflow Jul 21, 2017 by MrMcPlad
6

My laptop has 2 graphics processors: an integrated one and a a higher end nvidia one. For me the solution was to force IE11 to use the nvidia gpu. You can do this in windows by going start and searching for 'Graphics Settings'. In there you can add both the x86 and x64 iexplore.exe files and set the to 'High Performance'. Once I did this IE11 no longer crashed when I pressed F12.

Graphics Settings

answered on Stack Overflow Jan 2, 2019 by pmcilreavy
2

I found the answer by removing blocks from the site until I could narrow down the problem code

In my page head

  <link rel="stylesheet" href="~/css/site.css" />

and commenting out the first line in that css

/*@import url('site.css');*/
answered on Stack Overflow May 16, 2016 by greay
2

As both my fellow developer and I came across this question when trying to solve this issue, and still not having a clear answer to our problem until digging into the post by Microsoft in MrMcPlad's answer, I decided to make my first contribution to stackoverflow.

If you have an iFrame in your site using the same stylesheet as the main frame, it will cause this crash to occur. To debug it, remove one of the stylesheet links, and you'll be able to debug again.

Thanks, MS for not fixing a bug in the arguably superior browser. Or, you know, making it challenging for developers who want to support customers / users that don't all have Windows 10.

answered on Stack Overflow Oct 9, 2017 by DAnkeny
1

In my case, just when I delete line

<link rel="stylesheet" href="./css/font-awesome.min.css">

then I open Developer tools (F12) and then I restore the deleted line, the IE stays running!

answered on Stack Overflow Aug 30, 2017 by Miroslav
1

Removing duplicate CSS from Child iFrame JSP worked for me. However I need that CSS and I removed it for Debugging only and after debugging I enabled it again

Edit: I have fixed the issue, there was a font-awesome css which was already included in parent JSP and I had included it in child JSP as well. I removed it from child JSP and it worked.

answered on Stack Overflow Jan 26, 2018 by Vaibhav Sharma • edited Apr 4, 2018 by Vaibhav Sharma
0

For me, I was able to load the Developer Tools prior to opening my site. I then opened the site in another tab and hit the F12 button. this successfully opened the Developer Tools

answered on Stack Overflow Feb 5, 2019 by Nick

User contributions licensed under CC BY-SA 3.0