使用FireBug的框架网站 [英] Using FireBug for a website with frames

查看:104
本文介绍了使用FireBug的框架网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了Firebug,并试图用它来调试使用框架的网站的JS。



我的理解是,当我进入Firebug中的Script选项卡时,我会看到aspx上的JS函数和任何包含的文件中的JS,能够设置断点。

然而,我在这个网站上看到的是:

 < /头> 
< frameset>
< frame src =../ company / HostPage.aspx name =mainFrame>
< noframe>< / noframes>
< / frameset>

我正确理解Firebug吗?
<在Firebug中有两个菜单条,当你选择Script标签时,上面是一个包含当前文件名称的菜单条,如果你点击它,你会看到当前页面下载的所有文件列表,选择加载到你想调试的帧中的文件,它的内容就会出现在文本框中,你会看到整个内容,而不是只是脚本块。


I downloaded Firebug and attempted to use it to debug JS for a site that uses frames.

My understanding is when I go to the Script tab in Firebug, I would see the JS functions on the aspx and the JS in any files that are included and I would be able to set breakpoints.

However, all I see on this site is:

</head>
<frameset>
 <frame src="../company/HostPage.aspx name="mainFrame">
 <noframes></noframes>
</frameset>
</html>

Am I understanding Firebug correctly?

解决方案

There are two menu strips in Firebug. When you select the "Script" tab, above that is a menu strip that contains the name of the current file. If you click on that, you'll see a list of all files downloaded on the current page. Select the file loaded into the frame you want to debug, and it's contents will appear in the text box. You'll see the entire contents, not just the script blocks.

这篇关于使用FireBug的框架网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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