From 4e3252943a2cec93ff0afc5155a2dbd17c2e1169 Mon Sep 17 00:00:00 2001 From: sougandhs Date: Fri, 7 Feb 2025 18:14:59 +0530 Subject: [PATCH 1/2] Add option to disable all breakpoints except selected ones This commit introduces a new menu option that allows users to select multiple enabled breakpoints and disable all other breakpoints except the ones selected. This provides more flexibility and control over breakpoint management. --- debug/org.eclipse.debug.ui/plugin.properties | 3 +- debug/org.eclipse.debug.ui/plugin.xml | 11 ++- .../DisableAllOtherBreakpointsAction.java | 99 +++++++++++++++++++ .../breakpoints/EnableBreakpointsAction.java | 2 +- 4 files changed, 112 insertions(+), 3 deletions(-) create mode 100644 debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DisableAllOtherBreakpointsAction.java diff --git a/debug/org.eclipse.debug.ui/plugin.properties b/debug/org.eclipse.debug.ui/plugin.properties index 954ee7e3066..f9935043514 100644 --- a/debug/org.eclipse.debug.ui/plugin.properties +++ b/debug/org.eclipse.debug.ui/plugin.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2000, 2020 IBM Corporation and others. +# Copyright (c) 2000, 2025 IBM Corporation and others. # # This program and the accompanying materials # are made available under the terms of the Eclipse Public License 2.0 @@ -83,6 +83,7 @@ DetailPaneFontDefinition.description=The detail pane text font is used in the de DetailPaneFactoriesExtension.name=Detail Pane Factories DisableBreakpointsAction.label=&Disable DisableAllBreakpointsAction.label=Disa&ble All +DisableOtherBreakpointsAction.label=Disable Others EnableAllBreakpointsAction.label=Ena&ble All EnableBreakpointsAction.label=&Enable ExpandAll.label=Expand All diff --git a/debug/org.eclipse.debug.ui/plugin.xml b/debug/org.eclipse.debug.ui/plugin.xml index f3ecf97274e..1fce6f0c8fe 100644 --- a/debug/org.eclipse.debug.ui/plugin.xml +++ b/debug/org.eclipse.debug.ui/plugin.xml @@ -1,7 +1,7 @@