5

Internet Explorer 11 displays the message at the bottom that a not responding due to long running script. And it's true - the browser is pretty much unresponsive for a while.

I've inherited a code base with 30-40 js includes and they are all doing all kinds of things.

How do I find out specifically which script is causing this problem? How do I troubleshoot this type of problem in general?

AngryHacker
  • 59,598
  • 102
  • 325
  • 594
  • The network tab (in the browsers debug window) should tell you what request is long running, then just search for that URL in your code base – Liam Aug 04 '17 at 15:41
  • If it's locking the UI someone will of set async false on an ajax request, look for `async:false` for jquery or an `XMLHTTPRequest` where the third parameter is `false`. Then read [How do I return the response from an asynchronous call?](https://stackoverflow.com/questions/14220321/how-do-i-return-the-response-from-an-asynchronous-call) to fix it – Liam Aug 04 '17 at 15:43
  • 1
    @Liam It's definitely not a network request that's causing the problem. There is nothing in the Network tab. – AngryHacker Aug 04 '17 at 17:13
  • @AngryHacker did you find solution? – Dima Portenko Sep 12 '18 at 10:06
  • Any one found any solutions to this issue? – roney Sep 18 '18 at 11:44

0 Answers0