238

How to remove all breakpoints in one step in Google Chrome? Using version 11.

[update]

There is now a feature request for this.

[update]

The feature request is closed (Dec 2011)!

4
  • Is there no Deactivate all breakpoints button, like in Chrome 9?
    – Matt Ball
    Feb 4, 2011 at 21:59
  • 1
    @Krik: Version 11 is a beta one. They have a nightly build. @Matt: When I refresh the page, which is very often, breakpoints reactivate. Feb 4, 2011 at 22:28
  • 1
    I am looking at Chrome Version 51, you need to go to Source > Debug pane (where watch, call stack, break points...). Right click the breakpoints pane (you need to have some breakpoints to see the option), and you ll find, "Remove All Breakpoints".
    – Dhanuka777
    Jun 28, 2016 at 7:32
  • 1
    PLEASE community HELP TO VOTE at bugs.chromium.org A SIMPLE SOLUTION to this problem... Even nowadays (2019) NO SIMPLE SOLUTION. Jan 3, 2019 at 17:47

10 Answers 10

280

This is now possible in Sources tab of Chrome Developer Tools. Please see screen grab below and right click within the "Breakpoints" section of the left window.

enter image description here

1
  • Works for Chrome version 70 as well
    – Jasmeet
    Nov 1, 2018 at 17:05
126

Since recently (Chrome 18), you can right-click any breakpoint in the Breakpoints pane and voila! The "Remove All JavaScript Breakpoints" popup menu item!

7
  • 7
    There has been so much happening with Chrome lately, that it becomes difficult to see what is happening where, Apparently I am on Chrome 27 and I am unable to disable all Breakpoints using above approach. These options are missing for me. It hangs my whole browser and I need to go back to Firefox/firebug. Ideas?
    – Mike
    Aug 14, 2013 at 19:34
  • 19
    Perhaps I'm just thick, but I think the screenshot here is a little deceptive - right-click menus usually appear to the bottom-right of the cursor, so it looks like you're right-clicking on the source code, but in fact you have to right-click on the Breakpoints pane (as the text of your answer admittedly states, but it's only clear what that means if you notice the Breakpoints pane at all in the image or already know it exists). I think the screenshot from thirumalaa srinivas's answer below is better; perhaps you should pinch it and use it instead of yours?
    – Mark Amery
    Nov 27, 2013 at 18:06
  • 1
    @Mike Perhaps you're right-clicking in the wrong place - while this answer is correct, the screenshot is a little deceptive and has already mislead me and at least one other commenter on this question. See my comment above. This works for me in Chrome 31, and according to the answer it worked in Chrome 18, so I'd be surprised if it didn't work in Chrome 27.
    – Mark Amery
    Nov 27, 2013 at 18:09
  • 1
    Even worse when you've got Split panels vertically when docked to right and you're docking right, the Breakpoints pane is below the Sources pane, and not as close to the context above. Like reading "He went to the\nthe store" with one "the", I just figured he meant the line number pane with breakpoints was the "breakpoints pane". Guess JS coder == reading comprehension fail. ;^) Thanks, commenters. Useful to edit the picture?
    – ruffin
    Mar 3, 2014 at 16:50
  • 1
    This answer is now outdated, they no longer have these options in the right click context menu with Version 55.0.2883.87 m
    – ninjasense
    Feb 6, 2017 at 21:29
21

Chrome Devtools crashed everytime I tried to access the Sources panel because of a breakpoint on a minified Javascript file.

To remove all breakpoints without access to the interface, you can do the following:

  1. Open inspector-on-inspector : undock first inspector and hit ctrl+shift+i to open the second
  2. On the inspector-on-inspector console, execute the following:

    window.localStorage.breakpoints = [];
    
  3. Close the inspectors and reload the page. Now the breakpoints are gone.

2
  • 5
    I run at console window.localStorage.breakpoints = []; and nothing... Jan 3, 2019 at 17:45
  • 2
    This is the only answer that addresses the question literally. How did you discover this method?
    – jsejcksn
    Jan 15, 2019 at 11:37
13

Under Sources, you can click button marked with red on picture below or use shortcut Ctrl + F8 just like tool tip is showing (activate / deactivate breakpoints). A little bit lower under 'Breakpoints' you will see all your breakpoints. If you choose to disable all, they will be grayed out.

enter image description here

3
  • 2
    but not remove only deactivate Jun 13, 2016 at 7:35
  • 4
    This seems to be the only workaround at the moment? Looks like they removed it from the right-click menus.
    – Dunc
    Nov 25, 2016 at 14:45
  • What would be a good reason to take down such a needed functionality? Nov 15, 2017 at 13:37
7

solution here.

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.

1
  • 5
    This does not work for me. I get Uncaught ReferenceError: WebInspector is not defined Feb 28, 2018 at 16:23
3
  1. new Tabs; Ctrl+Shift+J to Console; Access URL

  2. Open the Chrome task manager and end the tab page.

  3. Ctrl+Shift+J to Application -> Service Workers (Offiline) -> Refresh

  4. to Sources Cancel Breakpoint

Success

1
  • Can you update this one? Looks like you have to open the Chrome menu (not Dev Tools menu), select "More Tools" then "Task Manager", or Shift + Esc. I had to stop the processes a few times, reload the page, and remove all breakpoints. But eventually it took and it worked! Thanks!
    – Fred
    Jul 8, 2022 at 12:25
2

Another option is to de-activate all break points using:

Ctrl + F8

1
1

In my case Uninstall and new installation of Chrome was without any success.

Also window.localStorage.clear() did not help.

My "last chance solution" is to remove entire directory where Chrome is storing its data. First turn off your Chrome. Then look at this path "c:\Users\ {your_user} \AppData\Local\Google\Chrome\User Data\Default\Local Storage\". Here try to delete all what is in this directory.

0

You can also clear all inspector settings and reload the inspector. It helped me with fantom breakpoint I could not remove in any other way. Open inspector and go to Preferences -> Sync -> Restore defaults and reload (at the bottom).

enter image description here

0
  1. Go to Developer tools and expand Breakpoint section.
  2. Right click on expanded area of breakpint and there will be many options lik.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.