Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable all breakpoints without current breakpoint in Intellij IDEA

I used Intellij IDEA CE version 2016.3.4 and I have simple question about breakpoints.

Is it possible to disable all breakpoints except one (current one) and without editing all other? Maybe there is any "one click" option ?

Example:

+ means Enabled breakpoint
- means Disabled breakpoint

(Before)
[+] Breakpoint1
[+] Breakpoint2 - current
[+] Breakpoint3
[+] Breakpoint4 

(After mute/disable all without current)
[-] Breakpoint1
[+] Breakpoint2 - current
[-] Breakpoint3
[-] Breakpoint4 
like image 373
ACz Avatar asked Mar 31 '17 07:03

ACz


People also ask

How do you ignore all breakpoints?

You can disable all breakpoints in one of the following ways: On the Debug menu, click Disable All Breakpoints. On the toolbar of the Breakpoints window, click the Disable All Breakpoints button.


1 Answers

The shortest solution i can think of is Ctrl+Shift+F8 ( Cmd+Shift+F8 for mac ) to open All breakpoints window. Then Ctrl+A ( Cmd+A ) to select all of them and Space to disable all. After that you can enable your current breakpoint.

like image 147
esin88 Avatar answered Sep 25 '22 13:09

esin88