Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorDoug Schaefer2017-11-27 23:04:40 +0000
committerDoug Schaefer2017-11-27 23:04:40 +0000
commit6db1357b1abf4944e40d8aa6ddd1520c2e224ce8 (patch)
tree0fcfb52fac567e624da2713b5ebca0ab567ed8d3 /debug
parent0ed7b10dea94cf37c6da0593ccfb94002b5385e8 (diff)
downloadorg.eclipse.cdt-6db1357b1abf4944e40d8aa6ddd1520c2e224ce8.tar.gz
org.eclipse.cdt-6db1357b1abf4944e40d8aa6ddd1520c2e224ce8.tar.xz
org.eclipse.cdt-6db1357b1abf4944e40d8aa6ddd1520c2e224ce8.zip
Stop launch on error. Fix up set/get make commands.
We were missing the dialog to ask if you wanted to continue after build errors in a project. We were missing the method that provided the list of projects to do that check. Also while testing that noticed the handling of the build and clean command UI was broken with make projects. Change-Id: I698e151672a114bb22c815f49d362b6413b9c315
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/launch/CoreBuildLaunchConfigDelegate.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/launch/CoreBuildLaunchConfigDelegate.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/launch/CoreBuildLaunchConfigDelegate.java
index ea940bfadf2..d5cb39d2a09 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/launch/CoreBuildLaunchConfigDelegate.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/launch/CoreBuildLaunchConfigDelegate.java
@@ -44,6 +44,13 @@ public abstract class CoreBuildLaunchConfigDelegate extends LaunchConfigurationT
return configuration.getMappedResources()[0].getProject();
}
+ @Override
+ protected IProject[] getProjectsForProblemSearch(ILaunchConfiguration configuration, String mode)
+ throws CoreException {
+ IProject project = getProject(configuration);
+ return project != null ? new IProject[] { project } : new IProject[0];
+ }
+
/**
* @deprecated Use the version that takes the launch config so we can see if it
* know what toolchain to use.

Back to the top