From c3e9df032b11f55c66990ecdacada327e8c13a2f Mon Sep 17 00:00:00 2001 From: Anton Leherbauer <anton.leherbauer@windriver.com> Date: Mon, 31 Mar 2014 13:11:43 +0200 Subject: [PATCH] Bug 430117 - "Connect to Process" is always enabled initially --- debug/org.eclipse.cdt.debug.ui/plugin.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debug/org.eclipse.cdt.debug.ui/plugin.xml b/debug/org.eclipse.cdt.debug.ui/plugin.xml index cfc27ee9e6f..495b8c23566 100644 --- a/debug/org.eclipse.cdt.debug.ui/plugin.xml +++ b/debug/org.eclipse.cdt.debug.ui/plugin.xml @@ -2082,6 +2082,14 @@ <handler class="org.eclipse.cdt.debug.internal.ui.commands.ConnectCommandHandler" commandId="org.eclipse.cdt.debug.ui.command.connect"> + <activeWhen> + <with variable="org.eclipse.core.runtime.Platform"> + <test property="org.eclipse.core.runtime.bundleState" + args="org.eclipse.cdt.debug.ui" + value="ACTIVE"> + </test> + </with> + </activeWhen> </handler> <handler class="org.eclipse.cdt.debug.internal.ui.commands.DebugNewExecutableHandler"