2

Is there any shortcut to disable java breakpoint in eclipse? There is one to disable them all but I want only one of them.

This question is not about disabling all breakpoints (as in eclipse shortcut for enabling / disabling JAVA breakpoints) but only one of them.

Also I'm aware of Eclipse debug view - but I want to use keyboard shortcut instead of going into it.

Community
  • 1
  • 1
mtadmk
  • 63
  • 1
  • 7
  • @check my screen-shot – Danyal Sandeelo Mar 03 '15 at 11:12
  • 1
    This question is not a duplicate of ["eclipse shortcut for enabling / disabling JAVA breakpoints"](https://stackoverflow.com/questions/8053904/eclipse-shortcut-for-enabling-disabling-java-breakpoints). That question is about skipping **all** breakpoints, which is done with `ctrl+alt+B`. This question is about disabling (not toggling or removing) a single breakpoint with a keyboard shortcut. – wisbucky May 03 '18 at 20:44
  • 1
    Well, the mods wouldn't remove the Duplicate label, so I'll post the answer in this comment: There's no way to make a direct keybinding, but you can use this key sequence: `ctrl+F10, D`. `ctrl+F10` opens the View Menu, `D` selects the Disable Breakpoint command. – wisbucky May 09 '18 at 22:58

3 Answers3

0

Go to Debug View > Breakpoints > Disable

farrellmr
  • 1,815
  • 2
  • 15
  • 26
0

The out of the box shortcut for a single breakpoint is to have the cursor on the line in question and use Ctrl+Shift+B to toggle the breakpoint on and off.

Otherwise, you can set up your own shortcut using Window->Preferences->Keys.

JamesB
  • 7,774
  • 2
  • 22
  • 21
0

You need to go to debug perspective, will have to click on break points.

enter image description here

Danyal Sandeelo
  • 12,196
  • 10
  • 47
  • 78