admin管理员组文章数量:1387412
I'm not exactly sure when it started happening, roughly the last week or so, but Chrome no longer seems to print my console.log statements. I've included a screenshot where on the console I type console.log('hello world'), and it simply prints undefined. This is occuring on my Mac, Chrome Version 29.0.1547.65. This exact same test on my Windows machine (Chrome version 29.01547.66 m) produces the output
hello world
undefined
I don't believe I have any filtering turned on or am doing anything differently than I was roughly a week ago. Thanks for any suggestions in advance.
I'm not exactly sure when it started happening, roughly the last week or so, but Chrome no longer seems to print my console.log statements. I've included a screenshot where on the console I type console.log('hello world'), and it simply prints undefined. This is occuring on my Mac, Chrome Version 29.0.1547.65. This exact same test on my Windows machine (Chrome version 29.01547.66 m) produces the output
hello world
undefined
I don't believe I have any filtering turned on or am doing anything differently than I was roughly a week ago. Thanks for any suggestions in advance.
Share Improve this question asked Sep 12, 2013 at 23:07 Bradley BossardBradley Bossard 2,5192 gold badges25 silver badges30 bronze badges 4- does this still happen? I have the same version, and I do get 'hello world' but also undefined after it – Leon Gaban Commented Sep 12, 2013 at 23:10
-
console.log
returnsundefined
, it's normal behavior. – elclanrs Commented Sep 12, 2013 at 23:11 - It says I have to wait 10 minutes to accept, I will once I can! – Bradley Bossard Commented Sep 12, 2013 at 23:19
- ohh i didn't know that (that you have to wait some time to accept an answer).. thanks :) – Orlando Commented Sep 13, 2013 at 2:20
2 Answers
Reset to default 4click in the funnel and make sure you have Logging
checked
In my case the problem was Firebug Lite, which I thought I wasn't using at the moment (it was collapsed).
Open Firebug Lite and check off "Override Console Object".
Then the native Chrome console will receive messages again, and Firebug's console won't (like it couldn't print on both at the same time; go figure).
本文标签: javascriptconsolelog quit working in ChromeStack Overflow
版权声明:本文标题:javascript - console.log quit working in Chrome - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744544408a2611811.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论