未捕获的ReferenceError: stopme未定义(匿名函数)

时间:2021-11-03 19:39:56

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:

在我的任何文件中都没有调用stopme的变量,在控制台进行了完整的搜索。我所拥有的是多重的:

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.

这个有效的是非顺序的,例如:console.log(intervalId)的结果是14 9 14。我从控制台手动调用上面的代码,看看为什么我的intervalIds是自动递增的。

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

错误只显示在Chrome上,而不是Firefox上。我的Chrome版本是:29.0.1547.57。

3 个解决方案

#1


27  

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?

我追踪到我的“网页截图”扩展。糟透了,因为它是获取完整高度网页的一个很好的扩展。谁能推荐另一个吗?

#2


2  

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

+1到“网页截图捕获”chrome扩展。在禁用它之后,bug就消失了。

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

当在backbonejs应用程序中浏览页面时出现了这个错误。

#3


0  

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

+ 1。我也遇到了这个问题。最后我发现只有一个终端用户会出现这个错误。搜索到谷歌,表示扩展的错误将触发window.onerror。

#1


27  

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?

我追踪到我的“网页截图”扩展。糟透了,因为它是获取完整高度网页的一个很好的扩展。谁能推荐另一个吗?

#2


2  

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

+1到“网页截图捕获”chrome扩展。在禁用它之后,bug就消失了。

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

当在backbonejs应用程序中浏览页面时出现了这个错误。

#3


0  

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

+ 1。我也遇到了这个问题。最后我发现只有一个终端用户会出现这个错误。搜索到谷歌,表示扩展的错误将触发window.onerror。