debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java
changeset 1185 02373fb1e121
parent 1090 02cf64aef519
child 1284 7ef1318ac801
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java	Thu Apr 08 14:31:29 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java	Thu Apr 08 14:41:29 2010 -0500
@@ -452,8 +452,7 @@
 			data.setExeSelection(EExeSelection.USE_PROJECT_EXECUTABLE);
 			IPath selectedPath = (IPath) ((IStructuredSelection) projectExecutableViewer.getSelection()).getFirstElement();
 			if (selectedPath != null) {
-				String symbianPath = PathUtils.convertPathToWindows(selectedPath);
-				data.setExeSelectionPath(new Path(symbianPath));
+				data.setExeSelectionPath(selectedPath);
 			}
 			validate();
 		} else {
@@ -498,8 +497,8 @@
 		if (remoteExecutableRadioButton.getSelection()) {
 			remoteProgramEntry.setEnabled(true);
 			data.setExeSelection(EExeSelection.USE_REMOTE_EXECUTABLE);
-			String symbianPath = PathUtils.convertPathToWindows(remoteProgramEntry.getText());
-			data.setExeSelectionPath(new Path(symbianPath));
+			IPath path = PathUtils.createPath(remoteProgramEntry.getText());
+			data.setExeSelectionPath(path);
 			validate();
 		} else {
 			remoteProgramEntry.setEnabled(false);