diff --git a/debug/org.eclipse.debug.ui/icons/full/obj16/add_to_fav.svg b/debug/org.eclipse.debug.ui/icons/full/obj16/add_to_fav.svg
new file mode 100644
index 00000000000..d291d7e8a46
--- /dev/null
+++ b/debug/org.eclipse.debug.ui/icons/full/obj16/add_to_fav.svg
@@ -0,0 +1,113 @@
+
+
+
+
diff --git a/debug/org.eclipse.debug.ui/icons/full/obj16/remove_from_fav.svg b/debug/org.eclipse.debug.ui/icons/full/obj16/remove_from_fav.svg
new file mode 100644
index 00000000000..ec71b4219f7
--- /dev/null
+++ b/debug/org.eclipse.debug.ui/icons/full/obj16/remove_from_fav.svg
@@ -0,0 +1,119 @@
+
+
+
+
diff --git a/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java b/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
index a9f1e913a60..0f17ad8ebe4 100644
--- a/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
+++ b/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2025 IBM Corporation and others.
+ * Copyright (c) 2000, 2026 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -207,6 +207,8 @@ private static void declareImages() {
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_LAUNCH_GROUP, OBJECT + "lgroup_obj.svg"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_CHECK, OBJECT + "check.svg"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_UNCHECK, OBJECT + "uncheck.svg"); //$NON-NLS-1$
+ declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_ADD_TO_FAV, OBJECT + "add_to_fav.svg"); //$NON-NLS-1$
+ declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_RMVE_FRM_FAV, OBJECT + "remove_from_fav.svg"); //$NON-NLS-1$
// tabs
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_COMMON_TAB, OBJECT + "common_tab.svg"); //$NON-NLS-1$
diff --git a/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java b/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java
index 93eb1e99458..78ee79f1d0d 100644
--- a/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java
+++ b/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2025 IBM Corporation and others.
+ * Copyright (c) 2000, 2026 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -134,6 +134,8 @@ public interface IInternalDebugUIConstants {
String IMG_OBJS_CHECK = "IMG_OBJS_CHECK"; //$NON-NLS-1$
String IMG_OBJS_UNCHECK = "IMG_OBJS_UNCHECK"; //$NON-NLS-1$
String IMG_OBJS_PROTO_TAB = "IMG_OBJS_PROTO_TAB"; //$NON-NLS-1$
+ String IMG_OBJS_ADD_TO_FAV = "IMG_OBJS_ADD_TO_FAV"; //$NON-NLS-1$
+ String IMG_OBJS_RMVE_FRM_FAV = "IMG_OBJS_RMVE_FRM_FAV"; //$NON-NLS-1$
// wizard images
String IMG_WIZBAN_IMPORT_BREAKPOINTS = "IMG_WIZBAN_IMPORT_BREAKPOINTS"; //$NON-NLS-1$
diff --git a/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java b/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java
index 940a0f826a8..6fdfd6c2fa4 100644
--- a/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java
+++ b/debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2025 IBM Corporation and others.
+ * Copyright (c) 2000, 2026 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -29,6 +29,7 @@
import org.eclipse.debug.internal.core.IInternalDebugCoreConstants;
import org.eclipse.debug.internal.ui.DebugUIPlugin;
import org.eclipse.debug.internal.ui.IDebugHelpContextIds;
+import org.eclipse.debug.internal.ui.IInternalDebugUIConstants;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.debug.ui.ILaunchGroup;
@@ -95,10 +96,14 @@ protected boolean updateSelection(IStructuredSelection selection) {
if (favoriteGroups.contains(group.getIdentifier())) {
setText(MessageFormat.format(ActionMessages.RemoveFromFavoritesAction,
fMode.substring(0, 1).toUpperCase() + fMode.substring(1)));
+ setImageDescriptor(
+ DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_OBJS_RMVE_FRM_FAV));
} else {
setText(MessageFormat.format(ActionMessages.AddToFavoritesAction_1,
DebugUIPlugin.removeAccelerators(
fMode.substring(0, 1).toUpperCase() + fMode.substring(1))));
+ setImageDescriptor(
+ DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_OBJS_ADD_TO_FAV));
}
} catch (CoreException e) {
DebugUIPlugin.log(e);