如何使用IE 8调试Javascript [英] How to debug Javascript with IE 8

查看:118
本文介绍了如何使用IE 8调试Javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何使用IE 8调试JavaScript?

How can we debug JavaScript with IE 8 ?

在更新IE 8后,使用Visual Studio进行的JavaScript重写不起作用。

The JavaScript debbuging with Visual Studio doesn't work after an update to IE 8.

推荐答案

我今天发现我们现在可以调试Javascript使用IE 8中集成的开发人员工具栏插件。

I discovered today that we can now debug Javascript With the developer tool bar plugins integreted in IE 8.


  • 点击工具栏右侧的▼工具

  • 选择开发人员工具即可。开发者工具对话框应该打开。

  • 点击对话框中的脚本标签。

  • 点击开始调试按钮。

  • Click ▼ Tools on the toolbar, to the right of the tabs.
  • Select Developer Tools. The Developer Tools dialogue should open.
  • Click the Script tab in the dialogue.
  • Click the Start Debugging button.

您可以使用watch,breakpoint,查看调用堆栈等,与专业浏览器中的调试器类似。

You can use watch, breakpoint, see the call stack etc, similarly to debuggers in professional browsers.

您还可以在JavaScript代码中使用语句 debugger; 设置断点。

You can also use the statement debugger; in your JavaScript code the set a breakpoint.

这篇关于如何使用IE 8调试Javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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