diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java index 0c69a9f2a9c8..bc5ab63c087a 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java @@ -205,16 +205,6 @@ public class XWatchesViewImpl extends XVariablesView implements DnDNativeTarget, return false; } - private void executeAction(@NotNull String watch) { - AnAction action = ActionManager.getInstance().getAction(watch); - Presentation presentation = action.getTemplatePresentation().clone(); - DataContext context = DataManager.getInstance().getDataContext(getTree()); - - AnActionEvent actionEvent = - new AnActionEvent(null, context, ActionPlaces.DEBUGGER_TOOLBAR, presentation, ActionManager.getInstance(), 0); - action.actionPerformed(actionEvent); - } - @Override public void addWatchExpression(@NotNull XExpression expression, int index, final boolean navigateToWatchNode) { ApplicationManager.getApplication().assertIsDispatchThread();