Chrome DOM断点不断启用自身 [英] Chrome DOM breakpoint keeps enabling itself

查看:177
本文介绍了Chrome DOM断点不断启用自身的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,在控制台中,我犯了一个可怕的错误,那就是在一个没有注入内容的元素上设置一个DOM断点,而这个元素是我期望的。



好吧,现在每当我加载该页面时,都会触发断点。我取消选中它旁边的框。它回来了。我右键单击它并单击删除断点。它从列表中消失,似乎工作正常,直到下一次硬刷新,然后BAM断点。



我点击禁用所有断点按钮。它再次运行,直到下一次刷新,然后是BAM断点。关闭Chrome,重新打开。相同。单独关闭所有标签并通过菜单关闭Chrome,清除所有标签内存。同样的。

 我穿上了缠腰布,做了一个复杂的舞蹈,
我知道这是一段时间,但我给了它一个机会。
我找到了一位驱魔人来帮助我的困境,
,但他立刻跑了出去,吓得尖叫。
借助Eärendil的光芒,我的机器已经做好了标记,
希望将其删除[已删除的]断点。
但是,无论付出多少努力,
都无济于事,所以现在我虚心地向你求助。

有没有人遇到这个问题?



我在Windows 7,Chrome 14.0.835.202。

解决方案

解决方案在这里: http://code.google.com/p/chromium/issues/detail?id=91666
$ b


清除所有断点在检查器上打开检查器(取消断开第一个
检查器并按下ctrl-shift-I打开第二个)并在第二个检查器的
控制台中运行
WebInspector.settings.domBreakpoints.set([])。


Yes, in the console, I made the horrible mistake of setting a DOM breakpoint on an element that wasn't getting the content injected into it that I expected it to.

Well, now whenever I load that page, the breakpoint triggers. I uncheck the box next to it. It comes back. I right click on it and click "Remove Breakpoint." It disappears from the list, and seems to work fine until the next hard refresh, then BAM breakpoint.

I click the disable all breakpoints button. It once again works until the next refresh, then BAM breakpoint. Closed Chrome, reopened. Same. Closed all tabs individually and closed Chrome through the menu, wiping out all tab memory. Same.

I put on a loincloth and did an intricate dance,
I knew it was a stretch, but I gave it a chance.
I found an exorcist to help with my plight,
but he ran off promptly, screaming in fright.
With the light of Eärendil, my machine I did annoint,
hoping to rid it of this [expletive deleted] breakpoint.
But nothing has worked, no matter how hard I fought,
so now I humbly ask assistance of you lot.

Has anyone run into this issue?

I'm on Windows 7, Chrome 14.0.835.202 m.

解决方案

solution here: http://code.google.com/p/chromium/issues/detail?id=91666

To purge all breakpoints open inspector on inspector (undock first inspector and hit ctrl-shift-I to open the second) and run "WebInspector.settings.domBreakpoints.set([])" in second inspector's console.

这篇关于Chrome DOM断点不断启用自身的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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