javascript 如何清除所有 Firebug JS 断点?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6259604/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 20:04:31  来源:igfitidea点击:

How do I clear all Firebug JS breakpoints?

javascriptfirebugbreakpoints

提问by Roger Halliburton

I seem to have a strange Firefox/Firebug issue where Firebug is suspending JS due to invisible/corrupt breakpoints. (Firefox 3.6.17, Firebug 1.7.2) This may or may not be related to jQuery (version unknown).

我似乎有一个奇怪的 Firefox/Firebug 问题,其中 Firebug 由于不可见/损坏的断点而暂停 JS。(Firefox 3.6.17,Firebug 1.7.2)这可能与 jQuery(版本未知)有关,也可能无关。

Since Firebug keeps a persistent list of set breakpoints, is there a way to clear out everything firebug might be remembering? I tried to reinstall Firebug, but that did not seem to help.

由于 Firebug 保留了设置断点的持久列表,有没有办法清除 firebug 可能记住的所有内容?我尝试重新安装 Firebug,但这似乎没有帮助。

I have tried searching for the issue but of course a search for "firebug breakpoints" returns thousands of tutorials on how to use firebug breakpoints.

我曾尝试搜索该问题,但当然搜索“firebug 断点”会返回数千个有关如何使用 firebug 断点的教程。

采纳答案by Brock Adams

  1. Under the Firefox profile folder, find the firebugfolder.

  2. Make sure that Firefox is closed.

  3. Edit or delete breakpoints.jsonas desired.

  1. Firefox 配置文件夹下,找到该firebug文件夹。

  2. 确保 Firefox 已关闭。

  3. breakpoints.json根据需要编辑或删除。

回答by AjayR

Open the web site where you want to clear the breakpoints, Open Firebug or press F12. from the right panel, you should see Watch, Stack and Breakpoints, Click on breakpoints dropdown and click on enter image description here

打开要清除断点的网站,打开 Firebug 或按 F12。从右侧面板中,您应该会看到 Watch、Stack 和 Breakpoints,单击 breakpoints 下拉菜单并单击在此处输入图片说明

回答by Aamir Afridi

If you can't find the Library/Mozilla folder on Mac. Its because its hidden. To unhide Open terminal and run this

如果在 Mac 上找不到 Library/Mozilla 文件夹。因为它是隐藏的。取消隐藏打开终端并运行它

defaults write com.apple.Finder AppleShowAllFiles YES

You should be able to find it folder now

您现在应该可以找到它的文件夹

To unhide run this

取消隐藏运行这个

defaults write com.apple.finder AppleShowAllFiles FALSE

I recon an easy way:In firebug toolbar click the bug icon and follow reset all firebug options:

我侦察一个简单的方法:在萤火虫工具栏中单击错误图标并按照重置所有萤火虫选项

enter image description here

在此处输入图片说明

回答by Aamir Afridi

try this if it still breaks

如果它仍然破裂,请尝试此操作

  • Insert about:support in Firefox url bar
  • find folder 'firebug'
  • delete file breakpoints.json
  • restart Firefox
  • 在 Firefox 网址栏中插入 about:support
  • 找到文件夹“萤火虫”
  • 删除文件 breakpoints.json
  • 重启火狐

*restart what ever editor you are using in conjunction e.g Visual Studio

*重新启动您正在使用的编辑器,例如 Visual Studio

回答by Anand Thangappan

Using Right side tab

使用右侧选项卡