I am running the FireBug profiler on this code:
function y() {
for (var i = 0; i < 10000; i++) {
var x = i;
}
}
console.profile();
y();
console.profileEnd();
However, it continuously says: “The profiler is running. Click ‘profile’ again to see its report.”
Nothing happens when I click that message OR the Profile button.
Apparently, this is solved by a system restart. I am not sure what caused it to work forever.