Thread:Pecoes/@comment-4674838-20121012013714

Question: In Chrome or Firefox, do you know if there's a way to immediately halt all execution of JavaScript (presumably an option in the console)?

A short while ago I had a weird scenario where my console in Chrome went completely unresponsive. e.g. typing  did not generate any output. My first thought was maybe one of my scripts had gotten caught in an infinite loop. However, all of my scripts were functioning normally and disabling them didn't resolve the issue. The problem never occurred in Firefox and it went away after about half an hour. It was just weird I guess.

But anyways, that got me prompted to thinking if there was a way to force-halt execution of JavaScript in-browser in a manner akin to an IDE would allow you to do while running a program, or Windows Task Manager when running applications, etc. 