IE中关于刚刚输出的对象的Console.log [object Object] [英] Console.log in IE on an object just outputted [object Object]
问题描述
我习惯在Chrome或Firefox中调试JavaScript,只是因为它们内置的开发人员工具比IE干净得多. IE8伴随着开发人员工具的完善而发展,但它们仍未完全解决.我喜欢能够像在Visual Studio中一样逐步执行代码,但是对于IE来说,这是相当不错的,但是,当尝试在Firefox/Chrome/etc等中对我拥有的对象执行简单的console.log时.我实际上可以探索该对象.
I'm used to debugging JavaScript in Chrome or Firefox just because their built in developer tools are a lot cleaner than IE's. IE8 came along way with the Developer Tools being more polished, but they're still not completely up to snuff. I like being able to step through code as if I was in Visual Studio, and that is pretty nice about IE, however, when trying to do a simple console.log on an object that I have, in Firefox/Chrome/etc. I can actually explore that object.
在IE中,控制台仅输出以下内容:
In IE, the console is simply outputting the following:
日志:[对象对象]
是否有任何方法可以像在Chrome/Firefox/etc中那样在IE中向下钻取该对象?
Is there any way to drill down into that object in IE like in Chrome/Firefox/etc.?
推荐答案
Maybe you can try what Xavi suggested here: How do I dump JavaScript vars in IE8?
这篇关于IE中关于刚刚输出的对象的Console.log [object Object]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!