debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AttachLaunchDelegate.java
changeset 728 a39d0ba41f81
parent 403 154ecf9c9186
child 772 c3301e21f173
equal deleted inserted replaced
727:e9804d5e613f 728:a39d0ba41f81
    68 
    68 
    69 	        if (!RemoteConnectionsTRKHelper.configUsesConnectionAttribute(config)) {
    69 	        if (!RemoteConnectionsTRKHelper.configUsesConnectionAttribute(config)) {
    70 	        	config = RemoteConnectionsTRKHelper.attemptUpdateLaunchConfiguration(config.getWorkingCopy());
    70 	        	config = RemoteConnectionsTRKHelper.attemptUpdateLaunchConfiguration(config.getWorkingCopy());
    71 	        }
    71 	        }
    72 	        
    72 	        
    73 	        final IConnection connection = RemoteConnectionsTRKHelper.getConnectionFromConfig(config);
    73 	        final IConnection connection = RemoteConnectionsTRKHelper.ensureConnectionFromConfig(config);
    74 			if (connection == null) {
    74 			if (connection == null) {
    75 				IStatus status = new Status(Status.ERROR, LaunchPlugin.PLUGIN_ID, 
    75 				IStatus status = new Status(Status.ERROR, LaunchPlugin.PLUGIN_ID, 
    76 					LaunchMessages.getString("TRKLaunchDelegate.NoConnectionErrorMsg")); //$NON-NLS-1$
    76 					LaunchMessages.getString("TRKLaunchDelegate.NoConnectionErrorMsg")); //$NON-NLS-1$
    77 				throw new DebugException(status);
    77 				throw new DebugException(status);
    78 			}
    78 			}