debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/ExecutablesTab.java
changeset 245 0575745dfefb
parent 229 ba58b2ff6c3e
child 388 de0b44a3d1d2
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/ExecutablesTab.java	Mon Jun 15 14:08:15 2009 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/ExecutablesTab.java	Mon Jun 15 16:58:16 2009 -0500
@@ -420,6 +420,15 @@
 		} catch (Exception e) {
 			LaunchPlugin.log(e);
 		}
+		
+		// now add the ones for the project as well since they may not be built yet and therefore
+		// not returned by the executables manager.
+		for (ExeFileToDebug exe : getExecutablesForTheProject(configuration)) {
+			if (!files.contains(exe)) {
+				files.add(exe);
+			}
+		}
+
 		return files;
 	}