Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uncaught ReferenceError: stopme is not defined (anonymous function)

I keep seeing this non breaking exception in my console:

Uncaught ReferenceError: stopme is not defined

(anonymous function)

There is no variable called stopme being called in any of my files, did a full search in console. What I have are multiple:

setInterval(function() {
  updateMetrics();
}, 1000);

calls in my code, whenever one of them fails, this shows up in console. I also don't know if this is the default behavior but I also noticed every time I set a new interval using:

var intervalId = setInterval(function() {}, 1000);

that intervalId is non sequential as in:console.log(intervalId) the result is 1, 4, 9, 14. I am manually calling the code above from console to see why my intervalIds are auto incrementing.

This is the full stack trace:

Uncaught ReferenceError: stopme is not defined
(anonymous function)

Additional libraries:

bootstrap.js
d3.v3.js
ember.js
handlebars.js
jquery-1.9.1.js
jquery.jsPlumb.js
jquery.timeago.js
require.js
string.min.js

Error shows up only on Chrome, not in Firefox. My Chrome build is: Version 29.0.1547.57

like image 618
Rohit Avatar asked Aug 27 '13 00:08

Rohit


2 Answers

I tracked this to my "Webpage Screenshot Capture" extension. Sucks because it's a great extension for capturing full height web pages. Can anyone recommend another?

like image 130
jake Avatar answered Nov 06 '22 13:11

jake


+1 to "Webpage Screenshot Capture" chrome extension. After disabling it the bug is gone.

The bug has been appeared when navigating through pages in backbonejs application.

like image 25
intale Avatar answered Nov 06 '22 14:11

intale