Add check for CODA sys/app property
authorEd Swartz <ed.swartz@nokia.com>
Wed, 15 Sep 2010 18:07:53 -0500
changeset 2023 54aa500f40cd
parent 2022 57928d8e56f3
child 2024 ce61717da98b
Add check for CODA sys/app property
debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java	Wed Sep 15 17:54:15 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java	Wed Sep 15 18:07:53 2010 -0500
@@ -417,10 +417,17 @@
 	public Boolean isSysTRKConnection() {
 		IConnectedService connectedService = getConnectedService();
 		if (connectedService instanceof IConnectedService2) {
+			// C3TRK: old name
 			String value = ((IConnectedService2) connectedService).getProperties().get("is-system-trk"); //$NON-NLS-1$
 			if (value != null) {
 				return Boolean.parseBoolean(value);
 			}
+			
+			// new name
+			value = ((IConnectedService2) connectedService).getProperties().get("is-system-debugger"); //$NON-NLS-1$
+			if (value != null) {
+				return Boolean.parseBoolean(value);
+			}
 		}
 		
 		return null;