使用IE8'开发人员工具'来调试早期的IE版本 [英] Using the IE8 'Developer Tools' to debug earlier IE versions

查看:493
本文介绍了使用IE8'开发人员工具'来调试早期的IE版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对使用IE6和7个特定错误的页面的HTML / CSS / JS调试不太满意。

I am less than satisfied in my HTML/CSS/JS debugging of pages with IE6 and 7 specific bugs.

我知道IE8有​​一个Firebug克隆,称为开发者工具已安装。

I am aware that IE8 has a Firebug clone, called 'Developer Tools' installed.

是否可以安装IE8(可能在虚拟机上,我不介意),将其设置为兼容模式(IE6有吗?),然后执行JS调试和实时HTML更改,使用IE8开发人员工具,就像我们在Firebug中一样?

Is it possible to have IE8 installed (maybe on a VM, i don't mind), set it to compatibility mode (is there one for IE6?), then perform JS debugging and live HTML changes, using the IE8 Developer Tools, just like we can in Firebug?

很多人感谢
mieze

many many thanks mieze

推荐答案

本机IE6 / 7和IE8兼容模式之间存在差异:
http://blogs.msdn.com/ie/archive/ 2009/03/12 / site-compatibility-and-ie8.aspx

There are differences between native IE6/7 and the IE8 compatibility mode: http://blogs.msdn.com/ie/archive/2009/03/12/site-compatibility-and-ie8.aspx

我发现在IE6 / 7中调试的最佳选择是安装与Microsoft Office捆绑在一起的Microsoft脚本编辑器(不是调试器)。这是一个可选安装,因此您可能必须在控制面板中打开添加删除程序并再次进行设置。这是安装Microsoft脚本编辑器后配置IE的指南。
http://www.jonathanboutelle.com/mt/ archives / 2006/01 / howto_debug_jav.html

The best option I've found to debug in IE6/7 is to install the Microsoft Script Editor (not Debugger), that is bundled with Microsoft Office. It's an optional install, so you probably have to open Add remove programs in Control panel and go through setup again. Here's a guide to configure IE after you've installed the Microsoft Script Editor. http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html

默认视图没有断点等等,所以看一下菜单添加视图你喜欢。它不如Firebug好,但它比警报调试好很多;)

The default view doesn't have breakpoints and such, so take a look at the menu to add the views you like. It's not as good as Firebug, but it's a lot better than alert-debugging ;)

这篇关于使用IE8'开发人员工具'来调试早期的IE版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆