Chrome DOM断点会自行启用

and*_*rew 46 google-chrome google-chrome-devtools

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

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

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

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.
Run Code Online (Sandbox Code Playgroud)

有没有人遇到过这个问题?

我在Windows 7,Chrome 14.0.835.202米.

fms*_*msf 26

解决方案:http://code.google.com/p/chromium/issues/detail?id = 91666

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

  • Chrome 45 - 无法在上面执行.改为使用它:`WebInspector.settings._registry.get('domBreakpoints').set([])` (6认同)

Fer*_*gie 7

有时,当您设置断点时,您还可以自动启用"暂停异常".这将给出不必要的持久性破坏行为.循环"暂停异常"按钮(左下角)以关闭它(注意 - 它不是打开/关闭,而是三种可能的状态)