简体   繁体   English

Chrome-JavaScript控制台无法正常工作

[英]Chrome - javascript console not working

I am trying to debug my code in the Google Chrome Console but everytime I select a line to evaluate it in the console I get this error message: 我试图在Google Chrome控制台中调试代码,但是每次我在控制台中选择一行对其进行评估时,都会收到以下错误消息:

Window {top: Window, window: Window, location: Location, external: Object, chrome: Object…}

My code seems to be running fine as I don't get any error message. 我的代码似乎运行正常,因为我没有收到任何错误消息。

Does anyone know why this happen? 有人知道为什么会这样吗?

Many thanks 非常感谢

I had the same issue. 我遇到过同样的问题。 Lines of code in console were only grey and returned nothing even for syntactically wrong lines. 控制台中的代码行只有灰色,即使语法上错误,也不会返回任何内容。

Browser restart helped. 浏览器重启帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM