用于Internet Explorer的Javascript调试器 - 调试 - 调试 [英] Javascript debugger for Internet Explorer - Debug - Debugging

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

问题描述

使用MS Office 2002及以上版本免费提供的MS脚本编辑器,

用于调试Internet Explorer(IE)。


此主题非常棒感兴趣的是许多JS开发人员,因为没有明显的,低成本的方法来进行复杂的调试,而不是使用下面描述的调试器,这是非常可靠的 IE6 br />
另有说明。我觉得调试是一个重要的方面

预测语言的可用性,并且需要为新用户提供更多的支持。

Jeff Papineau
yo**@mandala.com

< FAQENTRY>


这是一个页面,描述如何安装和使用MS脚本

编辑器来调试Internet Explorer(IE)中的Javascript。它有一个内置的强大的b调试器,对开发人员来说非常有效。

支持IE5 +。这个调试器/编辑器包含在大多数版本的

Microsoft Office中。

http://www.mandala.com/javascript/debug_javascript.html


..NET程序员可能有更好的工具( VStudio)但是这个来自

对于任何使用JSP和PHP以及其他动态

脚本语言开发的人来说非常方便,它们嵌入了javascript,以及任何HTML页面

在Internet Explorer中使用Javascript,需要(几乎)免费的

调试环境。


< / FAQENTRY>

Use the MS Script Editor included free with MS Office 2002 and above,
for debugging Internet Explorer (IE).

This subject is of great interest to many JS developers, as there is no
obvious, low cost way to do sophisticated debugging in
IE6 other than to use the debugger described below, which is horribly
documented otherwise. I feel debugging is an important aspect of
projecting the useability of the language and needs to be made more
clear for new users.
Jeff Papineau
yo**@mandala.com
<FAQENTRY>

This is a page that describes how to install and use the MS Script
Editor to debug Javascript in Internet Explorer ( IE ). It has a
powerful debugger built into it that works really well for developers
supporting IE5+. This debugger/editor included with most versions of
Microsoft Office.

http://www.mandala.com/javascript/debug_javascript.html

..NET programmers may have better tools (VStudio) but this comes in
really handy for anyone developing with JSP and PHP and other dynamic
scripting languages which embed javascript, as well as any HTML page
using Javascript in Internet Explorer that needs a (almost) free
debugging environment.

</FAQENTRY>

推荐答案

JRS:文章< 11 ********************** @ g43g2000cwa .googlegroups .com>

,日期为2005年7月2日星期六01:04:44,见于新闻:comp.lang.javascript,

Jeff< su ** ****@gmail.com>发布:
JRS: In article <11**********************@g43g2000cwa.googlegroups .com>
, dated Sat, 2 Jul 2005 01:04:44, seen in news:comp.lang.javascript,
Jeff <su******@gmail.com> posted :
使用MS Office 2002及以上版本免费提供的MS脚本编辑器,
用于调试Internet Explorer(IE)。
...
Jeff Papineau
你好** @ mandala.com
Use the MS Script Editor included free with MS Office 2002 and above,
for debugging Internet Explorer (IE). ... Jeff Papineau
yo**@mandala.com



如果有人像你一样重复地吹一个产品,它会明智地认为,河豚是一个自大狂,一个完整的捣蛋鬼,或者是拥有经济利益的b $ b。


请然后,解释一下你的行为。


-

?约翰斯托克顿,英国萨里。 ?? *@merlyn.demon.co.uk Turnpike v4.00 MIME。 ?

Web< URL:http://www.merlyn.demon.co.uk/> - FAQish主题,首字母缩略词,&链接。

检查样板拼写 - 错误是无能的公开标志。

永远不要完全信任海报中没有提供完整真实姓名的文章。


When anyone puffs a product as repeatedly as you have done, it will be
wisely assumed that the puffer is an egomaniac, a complete prat, or
possessed of a financial interest.

Please, then, explain your behaviour.

--
? John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v4.00 MIME. ?
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.




嘿John博士!


嗯,任何潜伏在这里的人都知道你有一个意见或

两个人自己! ;-)


在回答您的问题时,它被称为Google页面排名!不,实际上,

在Google上搜索并查看Javascript调试的结果。


哦,天啊。过去10年来,这个社区一直在诉诸

的落后解决方案是无法实现的,至少在IE开发商关注的是b $ b。

现在是时候让每个人在赞美诗我的朋友的同一页上唱歌了。


使用免费的MS工具做IE web应用程序调试确实很有意义,因为你可以可视化页面的DOM结构

和开发人员在页面中添加的JS对象健壮的

调试器。


试试这个调试器,让我们知道你的想法!


我是'我将在这里分享一些IE javascript调试技巧:

http://www.fiddlertool.com/fiddler/


FIDDLER - 优秀的免费HTTP代理传输监视器,每个都会显示

客户端访问服务器和服务器的时间的
$ B如果有的话$ B响应。比阿喀琉斯更容易使用! AJAX程序员

检查出来,你需要它。

http://www.cheztabor.com/IEDocMon/

IEDocMon - 优秀的IE DOM可视化工具。如果你正在做很多

的AJAX风格编程,这个宝贝肯定很高兴能够实时查看DOM,并看到它自动更新。查看你的相框的内容,

等。太棒了,价格合适......免费。


以上工具和MS脚本编辑器调试环境和你

可以想象整个客户端ENCHILADA。没有更多的黑匣子......


Ciao,


Jeff Papineau
xx ** @mandala.com

John Stockton博士写道:

Hey Dr. John!

Well, anyone that''s lurked around here knows you harbor an opinion or
two yourself! ;-)

In answer to your question, it''s called Google page rank! No, actually,
do a search on Google and look at the results for "Javascript debug".

Oh my god. The backward solutions this community has been resorting to
for the last 10 years is just beyond hope, at least where IE developers
are concerned.

It''s time for everyone to sing from the same page in the hymnal my
friend.

Using free MS tools to do IE web application debugging really makes a
lot of sense, because you can visualize the DOM structure of the page
AND the JS objects the developer adds to the page in a very robust
debugger.

Try this debugger and let us know what you think!

And I''ll share a few more IE javascript debugging tips here as well:

http://www.fiddlertool.com/fiddler/

FIDDLER - Excellent and free HTTP proxy transport monitor, will show
you every time the client is hitting the server, and the server''s
response if any. So much easier to use than Achilles! AJAX programmers
check it out, you need it.

http://www.cheztabor.com/IEDocMon/

IEDocMon - Excellent IE DOM visualization tool. If you are doing a lot
of AJAX style programming, this baby sure is nice to view the DOM in
real time and see it update itself. View the contents of your frames,
etc. Just amazing, and the price is right... FREE.

The above tools and the MS Script Editor debugging environment and you
can visualize the entire client ENCHILADA. No more black box...

Ciao,

Jeff Papineau
xx**@mandala.com
Dr John Stockton wrote:
JRS:文章< 11 ****** ****************@g43g2000cwa.googlegroups .com>
,日期为2005年7月2日星期六01:04:44,见于新闻:comp.lang.javascript,
杰夫< su ****** @ gmail.com>发布:
JRS: In article <11**********************@g43g2000cwa.googlegroups .com>
, dated Sat, 2 Jul 2005 01:04:44, seen in news:comp.lang.javascript,
Jeff <su******@gmail.com> posted :
使用MS Office 2002及以上版本免费提供的MS脚本编辑器,
用于调试Internet Explorer(IE)。
Use the MS Script Editor included free with MS Office 2002 and above,
for debugging Internet Explorer (IE).


...


Jeff Papineau
哟** @ mandala.com
Jeff Papineau
yo**@mandala.com



当有人吹气时产品和你一样反复,明智地认为河豚是一个自大狂,一个完整的捣蛋鬼,或者是有经济利益的。

请,然后,解释一下你的行为。

-
?约翰斯托克顿,英国萨里。 ?? *@merlyn.demon.co.uk Turnpike v4.00 MIME。 ?
Web< URL:http://www.merlyn.demon.co.uk/> - FAQish主题,首字母缩略词,&链接。
检查样板拼写 - 错误是无能的公开标志。
永远不要完全信任海报中没有提供完整真实姓名的文章。


When anyone puffs a product as repeatedly as you have done, it will be
wisely assumed that the puffer is an egomaniac, a complete prat, or
possessed of a financial interest.

Please, then, explain your behaviour.

--
? John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v4.00 MIME. ?
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.






Jeff,你必须遇到以下问题......你正在使用ms

脚本调试器来逐步执行代码。一切都很顺利,只需要一段时间。突然,调试器不再工作了。

''调试器''语句不会导致你想调试提示,

附加调试器对你的IE实例没有给''脚本''作为

a选中Attach to Process对话框中的选项,如果你坚持

并且无论如何附加,运行的文件视图是空的。它不再是
工作了。如果你重新启动Windows,一切都还可以。我已经和

一起生活在Visual Interdev,MS Script Debugger,Visual

Studio.NET中(这个问题在这里很少见,但对家庭来说太贵了)

和MS脚本编辑器。我从来没有见过任何解释,也没有从过去曾经纠缠过的许多微软民众那里得到一个解释。我现在大多数时候使用Venkman,它可能会慢一点,但它非常可靠。如果你知道上面的原因和解决办法,我会是永远在

你的债务。

Jeff, you must have run into the following problem...you ''re using ms
script debugger to step through code. All goes well for a certain
length of time. Suddenly, the debugger refuses to work anymore.
''debugger'' statements don''t cause the "do you want to debug"prompt,
attaching the debugger to your instance of IE does not give ''script'' as
a checked option in the Attach To Process dialog and, if you persevere
and attach anyway, the running documents view is empty. It just won''t
work anymore. If you reboot windows, all is ok again. I''ve lived with
this behaviour in Visual Interdev, MS Script Debugger, Visual
Studio.NET (the problem is rarer here, but too expensive for home use)
and the MS Script Editor. I''ve never seen an explanation, nor received
one from the many microsoft folk I''ve pestered in the past. I mostly
use Venkman nowadays, it may be slower, but it''s very reliable.If you
know the cause of and solution to the above, I would be for ever in
your debt.


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

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