Remove all breakpoints in IntelliJ IDEA

Intellij Idea

Intellij Idea Problem Overview


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

Intellij Idea Solutions


Solution 1 - Intellij Idea

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

Solution 2 - Intellij Idea

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

Solution 3 - Intellij Idea

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

Solution 4 - Intellij Idea

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

Solution 5 - Intellij Idea

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.

Solution 6 - Intellij Idea

On a Mac you need Shift + Comand + F8

Solution 7 - Intellij Idea

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionEugeneView Question on Stackoverflow
Solution 1 - Intellij IdeaIlyaView Answer on Stackoverflow
Solution 2 - Intellij IdeavitfoView Answer on Stackoverflow
Solution 3 - Intellij IdeajoannaView Answer on Stackoverflow
Solution 4 - Intellij IdeaPrabsView Answer on Stackoverflow
Solution 5 - Intellij IdeaRajView Answer on Stackoverflow
Solution 6 - Intellij Idea365SplendidSunsView Answer on Stackoverflow
Solution 7 - Intellij IdeaAmol SuryawanshiView Answer on Stackoverflow