Is there a possibility to remove all breakpoints in the module (might be using a shortcut) in IntelliJ IDEA IDE? Thanks.
7 Answers
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
-
1
-
Yes, for each type of breakpoints. In NetBeans you can remove all breakpoints in one click, but not in IDEA– IlyaSep 5, 2012 at 10:24
-
I'm a little late to the party (and possibly incorrect, hence the comment vs an answer), but I think the keyboard shortcut is now Alt+F9. Ctrl+Shift+F8 doesn't do anything for me.– BrandonJan 2, 2017 at 18:34
-
9
-
1
To remove all breakpoints in IntelliJ Idea press following sequence of shortcuts:
- Ctrl+Shift+F8 (open Breakpoints dialog)
- Ctrl+A (select all breakpoint)
- Alt+Delete (remove selected breakpoints)
- 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.
To get the Breakpoints dialog press Ctrl+Shift+F8 again.
Tested in IntelliJ Idea 14 Community Edition.
In case of Mac, follow below steps:
- cmd+Shift+F8 (open Breakpoints dialog)
- cmd+A (select all breakpoint)
- cmd+Delete (remove selected breakpoints)
- Enter (confirm)
Unlike Alt+Delete in windows, It's cmd+Delete in Mac
-
Pressing 'Delete' alone removes the breakpoints you've selected. No need to press 'command' along with it, unless I am missing something :)– AdamSep 24, 2021 at 0:05
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.
-
5You 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– AntimoApr 13, 2016 at 10:09
-
Mines Ctrl + Alt + S for settings (Not sure if its always been the case, but it is now)– BooAug 11, 2016 at 1:09
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.
Here is one of my trick to remove all breakpoints of a page:
- Ctrl+A : select all code
- Ctrl+X : cut all codes
- Ctrl+V : paste all code
this trick removes all breakpoints at one go and it takes less than a second.
On a Mac you need Shift + Comand + F8
-
2on some Keyboards that share multiple functions with F keys it would be Shift + Command + Fn + F8; Fn for activating F mode– DeloreanMar 17, 2017 at 10:49
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