Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

IE8 is giving me the slow-running script message on load of a page:

Stop running this script? A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive.

However, the webapp I’m debugging is fairly old and has a whole lot of scripts. Is there an easy way for me to find out which of those scripts is causing the problem?

Comments

I’m not sure because I don’t use IE… But can you do some breakpoint in the console and then reload the page to see if you breakpoint is before or after the slow script?
Try the javascript profiler from the debugger.