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:21

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

查看更多
登录 后发表回答