简体   繁体   中英

Remove all breakpoints from chrome

I had enabled some break points in Chrome's developer tools for Javascript and now I can not delete them.
Any time I switch to the Developer view I always hit a breakpoint which is really annoying.
Strangely enough in some cases I did not put any break point where it stops. It is a different code alltogether.
How can I remove all the breakpoints?

It sounds like you've told Chrome to break on all exceptions. On the sources tab, at the bottom left, there are a series of buttons:

Chrome 左下角工具的屏幕截图,带有圈出的异常中断按钮

The one I've circled (a filled hexagon with two vertical lines in it) cycles between breaking on all exceptions, on just uncaught exceptions, and not breaking at all. Click it until it's black (not blue or purple).

For other breakpoints, they're on the right-hand side under the category "Breakpoints" (you probably knew that :-) ). Right-click and choose "Remove all breakpoints".

在此处输入图片说明 在此处输入图片说明

You can activate/deactivate breakpoints with ctrl-F8 (Chrome version 49) There is a:

        "deactivate  / activate"

crossed over black arrow / blue arrow

above the watch pane, There is a list of breakpoints below

Watch, Call stack, Scope where you can activate/deactivate breakpoints individually

在此处输入图片说明

Right click in this list, and you can remove all breakpoints.

You can right-click on any breakpoints in the Source tab and click on Remove breakpoint or right-click on the right side on Breakpoints section and Remove all breakpoints !

你可以在这里看到图片

On Google Chrome 78.0.3904.87 (Official Build) (64-bit)

  1. Either right click on Any XHR or fetch of
  2. Or un-check the checkbox
  3. It will also show the list of break points you put

在此处输入图片说明

如果您没有任何断点,但它仍然在随机位置中断,只需在任何地方创建一个新的随机断点,然后您就可以删除所有断点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM