Remove all breakpoints in IntelliJ IDEA

2019-01-31 22:01发布

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

7条回答
何必那么认真
2楼-- · 2019-01-31 22:08

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

查看更多
小情绪 Triste *
3楼-- · 2019-01-31 22:14

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
查看更多
唯我独甜
4楼-- · 2019-01-31 22:14

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

查看更多
够拽才男人
5楼-- · 2019-01-31 22:14

On a Mac you need Shift + Comand + F8

查看更多
爷、活的狠高调
6楼-- · 2019-01-31 22:15

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 takes less than a second.

查看更多
smile是对你的礼貌
7楼-- · 2019-01-31 22:18

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

查看更多
登录 后发表回答