debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AttachLaunchDelegate.java
equal
deleted
inserted
replaced
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 } |