2010-06-28

在IE下使用Script Debugger调试javascript兼容性问题

类归于: JavaScript — 标签:, , , maker @ 15:30

该死的浏览器战争,苦了我们这群web开发者,每天都要面对html兼容性,css兼容性,javascript兼容性! 还有什么比这更要命的么?

通常情况下, 我都用Firefox下的Firebug插件来开发Javascript应用, 但是经常会有代码在IE下就失去作用, 而且IE的错误提示还很模糊, 经常会让我无从下手.

以前听说过IE下的一些调试工具,从没用过,刚刚被一个语法错误逼的没办法向bobhero求助,他推荐我装了Script Debugger.

这是微软开发的一款开发工具, Google之, 进入微软的网站下载安装, 如果你不是Win98或者Win Me记得要下载 Script Debugger for Windows NT 4.0 and Later, 否则等着杯具去吧.

安装过程大概就是, 下一步->下一步->下一步->下一步->下一步->下一步….

安装完毕后, 进入Internet选项->高级, 如下图把禁用脚本调试(Internet Explorer)和禁用脚本调试(其他)两个选项关闭掉. 如果你忘了这步, 那么, 痛苦去吧, 你会发现和没装没什么差别.
ie-script-debugger-01

搞定上一步之后, 找你的错误去吧.
ie-script-debugger-02

ie-script-debugger-03

我刚刚发现我还装过另一个调试工具,我怎么就不记得了呢…

6 条评论 »

  1. I’ve said that least 3430170 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a3430170 — 2011-11-20 @ 17:36

  2. I’ve said that least 2769669 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a2769669 — 2011-11-20 @ 17:36

  3. tb3430170@3430170…

    I’ve said that least 3430170 times. …

    Trackback 由 I've said that least 3430170 times — 2011-11-20 @ 17:36

  4. I’ve said that least 994674 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a994674 — 2011-11-20 @ 17:36

  5. I’ve said that least 1478424 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a1478424 — 2011-11-20 @ 17:36

  6. I’ve said that least 3457385 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a3457385 — 2011-11-20 @ 17:36

这篇文章上的评论 RSS feed TrackBack URL

留下评论

WordPress 所驱动