什么会导致持久的“重新加载页面获取源代码”错误在萤火虫? [英] What can cause a persistent "Reload the page to get source for" error in firebug?

查看:105
本文介绍了什么会导致持久的“重新加载页面获取源代码”错误在萤火虫?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图调试特定页面的javascript,并且看到
$ b

重新加载页面以获取页面源代码。 htm 在Firebug中。



在Chrome上,我大多能够调试js,但有时候我也会得到一个空白页面。什么会导致这样的问题?

如果我在JS控制台打开的情况下重新加载,我总是会在Chrome中看到一个空白页面。如果我打开一个新的Chrome选项卡,加载页面,然后打开JS控制台,一切都ok。



我正在调试的页面在本地主机服务器上玩框架服务器),虽然我偶尔在其他页面上看到了这一点。这只发生在内嵌的JavaScript ... js从页面链接显示正常。

解决方案

与萤火虫图标,你会看到一个下拉箭头。点击该箭头打开下拉菜单。



清除激活清单。



刷新现在页面。

现在在script选项卡下,您会看到Reload链接。点击该按钮重新加载页面。
这次当页面重新加载时,您会看到脚本。


I'm trying to debug the javascript of a specific page, and I keep seeing

Reload the page to get source for page.htm in Firebug.

On Chrome, I'm mostly able to debug the js, but sometimes I also get a blank page. What can cause such issues?

I believe I always see a blank page in Chrome if I reload while the JS console is open. If I open a new Chrome tab, load the page, and then open the JS console, everything is ok.

The page I'm debugging is on a localhost server (Play Framework server), although I have seen this on other pages occasionally. This only happens with inline javascript ... js that is linked from the page is displayed fine.

解决方案

With firebug icon, you'll see a dropdown arrow. Click that arrow to open up the drop down menu.

Click Clear Activation List.

Refresh the page now.

Now under script tab you'd see the Reload link. Click that to reload the page again. This time when the page reloads, you'd see the script.

这篇关于什么会导致持久的“重新加载页面获取源代码”错误在萤火虫?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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