170

Is there a possibility to remove all breakpoints in the module (might be using a shortcut) in IntelliJ IDEA IDE? Thanks.

Eugene
  • 59,186
  • 91
  • 226
  • 333

8 Answers8

238

Ctrl+Shift+F8

is using for removing all breakpoints.
Select upper breakpoint -> Ctrl+Shift+End -> Remove

On Mac Os use this:

Cmd + Shift + (Fn) + F8 on Mac OS
Umair
  • 6,366
  • 15
  • 42
  • 50
Ilya
  • 29,135
  • 19
  • 110
  • 158
56

To remove all breakpoints in IntelliJ Idea press following sequence of shortcuts:

  1. Ctrl+Shift+F8 (open Breakpoints dialog)
  2. Ctrl+A (select all breakpoint)
  3. Alt+Delete (remove selected breakpoints)
  4. Enter (confirm)

If you press Ctrl+Shift+F8 and your cursor is at code line with breakpoint, instead of Breakpoint dialog you get bubble with properties of a single breakpoint.

enter image description here

To get the Breakpoints dialog press Ctrl+Shift+F8 again.

enter image description here


Tested in IntelliJ Idea 14 Community Edition.


In case of Mac, follow below steps:

  1. cmd+Shift+F8 (open Breakpoints dialog)
  2. cmd+A (select all breakpoint)
  3. cmd+Delete (remove selected breakpoints)
  4. Enter (confirm)

Unlike Alt+Delete in windows, It's cmd+Delete in Mac

unknownerror
  • 2,235
  • 2
  • 25
  • 26
vitfo
  • 9,781
  • 6
  • 29
  • 30
  • Pressing 'Delete' alone removes the breakpoints you've selected. No need to press 'command' along with it, unless I am missing something :) – Adam Sep 24 '21 at 00:05
49

As an alternative, instead of removing all breakpoints, you can just mute them. This will help in the case that you want to stop breaking on all of them. They will still exist, so you can toggle this setting again to start breaking on them.

The mute breakpoints button can be found in the Debug view (view can be toggled using View -> Tool Windows -> Debug), in the left-hand side button menu. I attached a screenshot below.

Mute breakpoints in IntelliJ IDEA

joanna
  • 701
  • 6
  • 7
  • 5
    You can add a shortcut for this: In Intellij press Ctrl + SHIFT + S (Settings) -> KeyMap -> In Right Panel search "Mute Breakpoints" and insert the shortcut you like – Antimo Apr 13 '16 at 10:09
  • Mines Ctrl + Alt + S for settings (Not sure if its always been the case, but it is now) – Boo Aug 11 '16 at 01:09
16

As mentioned in this answer the shortcut works.
But we tend to forget the combination of keys (I do).

There exists another way to access breakpoints window.

Clicking on this button enter image description here will open breakpoints window.

enter image description here

Prabs
  • 4,923
  • 6
  • 38
  • 59
4

Here is one of my trick to remove all breakpoints of a page:

  1. Ctrl+A : select all code
  2. Ctrl+X : cut all codes
  3. Ctrl+V : paste all code

this trick removes all breakpoints at one go and it takes less than a second.

Raj
  • 946
  • 12
  • 16
2

On a Mac you need Shift + Comand + F8

365SplendidSuns
  • 3,175
  • 1
  • 21
  • 28
  • 2
    on some Keyboards that share multiple functions with F keys it would be Shift + Command + Fn + F8; Fn for activating F mode – Delorean Mar 17 '17 at 10:49
0

press ctrl+shift+f8 and select check box of which you want to remove and then press minus button in left upper corner in android studio 2.2

Amol Suryawanshi
  • 2,108
  • 21
  • 29
0

I didn't find the answer about how to remove all breakpoints with one click (or a shortcut) in Itellij IDEA - so I found this opportunity in: Settings -> Keymap -> Debugger Actions

  • there You can find "Remove All Breakpoints" and "Remove All Breakpoints In The Current File". You can add a shortcut or add this action on a toolbar (I prefer this way more).
yadiver
  • 3
  • 2