debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java Wed Mar 10 08:43:57 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java Wed Mar 10 15:28:22 2010 -0600
@@ -361,15 +361,17 @@
}
protected void initUI() {
- List<IPath> exes = data.getExes();
+ List<IPath> exes = data.getLaunchableExes();
projectExecutableViewer.setInput(exes);
IPath exeSelectionPath = data.getExeSelectionPath();
if (exeSelectionPath.equals(Path.EMPTY) && !exes.isEmpty())
exeSelectionPath = exes.get(0);
- projectExecutableViewer.setSelection(new StructuredSelection(exeSelectionPath));
- IPath remotePath = createSuggestedRemotePath(exeSelectionPath);
- remoteProgramEntry.setText(PathUtils.convertPathToWindows(remotePath));
-
+ if (!Path.EMPTY.equals(exeSelectionPath)) {
+ projectExecutableViewer.setSelection(new StructuredSelection(exeSelectionPath));
+ IPath remotePath = createSuggestedRemotePath(exeSelectionPath);
+ remoteProgramEntry.setText(PathUtils.convertPathToWindows(remotePath));
+ }
+
if (data.getExeSelection() == EExeSelection.USE_PROJECT_EXECUTABLE && exeSelectionPath != null) {
projectExecutableRadioButton.forceFocus();
}