Disable all breakpoints without current breakpoint in Intellij IDEA

In menu, Help->Find Action and type breakpoint and select view breakpoints.

Then Ctrl+A ( Cmd+A ) to select all of them and Space to disable all

Then you can enable new breakpoint at the location required.


The shortest solution i can think of is Ctrl+Shift+F8 ( Cmd+Shift+F8 for mac ) to open All breakpoints window. Then Ctrl+A ( Cmd+A ) to select all of them and Space to disable all. After that you can enable your current breakpoint.