Skip to main content
summaryrefslogtreecommitdiffstats
path: root/launch
diff options
context:
space:
mode:
authorJohn Cortell2010-05-25 23:55:16 +0000
committerJohn Cortell2010-05-25 23:55:16 +0000
commit646182c984a017e937b96e862cf2f9070479915d (patch)
tree35722c3ce2c38492f1298a687ec544bda9678638 /launch
parentcc353d738beb02d9bae8cb5fa6e8ed0f41053cc5 (diff)
downloadorg.eclipse.cdt-646182c984a017e937b96e862cf2f9070479915d.tar.gz
org.eclipse.cdt-646182c984a017e937b96e862cf2f9070479915d.tar.xz
org.eclipse.cdt-646182c984a017e937b96e862cf2f9070479915d.zip
Corrected comment
Diffstat (limited to 'launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java
index c1f9298cd27..dc98c8cc267 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java
@@ -101,11 +101,14 @@ public abstract class AbstractCLaunchDelegate2 extends LaunchConfigurationDelega
}
/**
- * Even though we override the base behavior and only build the single
- * project referenced in the launch configuration (and not any of the
- * projects it references), we still want to implement this as the base will
- * also use the list to determine what files need be saved, and there it's
- * not much of a burden to include any referenced projects
+ * Even though this launcher overrides the base behavior and only builds the
+ * single project referenced in the launch configuration (and not any of the
+ * projects it references), we still want to implement this method, as the
+ * base will also call it to determine what files need be saved. We want to
+ * respond with all referenced projects since building the single top level
+ * project will, under the covers, cause its CDT-referenced projects to be
+ * built as well (a function of CDT build). So, any files in such projects
+ * should be saved before launch.
*
* @see org.eclipse.debug.core.model.LaunchConfigurationDelegate#getBuildOrder(org.eclipse.debug.core.ILaunchConfiguration,
* java.lang.String)

Back to the top