File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11/*******************************************************************************
2- * Copyright (c) 2000, 2020 IBM Corporation and others.
2+ * Copyright (c) 2000, 2025 IBM Corporation and others.
33 *
44 * This program and the accompanying materials
55 * are made available under the terms of the Eclipse Public License 2.0
@@ -80,7 +80,9 @@ protected void configureToolBar(IToolBarManager tbm) {
8080 protected void fillContextMenu (IMenuManager menu ) {
8181 menu .add (new Separator (IDebugUIConstants .EMPTY_EXPRESSION_GROUP ));
8282 menu .add (new Separator (IDebugUIConstants .EXPRESSION_GROUP ));
83- menu .add (getAction (FIND_ACTION ));
83+ if (DebugPlugin .getDefault ().getExpressionManager ().getExpressions ().length > 0 ) {
84+ menu .add (getAction (FIND_ACTION ));
85+ }
8486 ChangeVariableValueAction changeValueAction = (ChangeVariableValueAction )getAction ("ChangeVariableValue" ); //$NON-NLS-1$
8587 if (changeValueAction .isApplicable ()) {
8688 menu .add (changeValueAction );
You can’t perform that action at this time.
0 commit comments