Rohit
Rohit

Reputation: 428

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

Upvotes: 10

Views: 8547

Answers (3)

Ika18
Ika18

Reputation: 49

+1. I also met this issue. And finally I found only one of my end user will occur this error. Searched it for google, that said extension's error will trigger window.onerror.

Upvotes: 0

intale
intale

Reputation: 831

+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.

Upvotes: 2

jake
jake

Reputation: 628

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?

Upvotes: 27

Related Questions