1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Extend the don't check program to also not check the project. This is to support hardware debugging and project-less debugging.

This commit is contained in:
Doug Schaefer 2007-04-12 21:07:56 +00:00
parent 738955feca
commit 234a259089

View file

@ -504,6 +504,9 @@ public class CMainTab extends CLaunchConfigurationTab {
setErrorMessage(null);
setMessage(null);
if (dontCheckProgram)
return true;
String name = fProjText.getText().trim();
if (name.length() == 0) {
setErrorMessage(LaunchMessages.getString("CMainTab.Project_not_specified")); //$NON-NLS-1$
@ -519,7 +522,6 @@ public class CMainTab extends CLaunchConfigurationTab {
return false;
}
if (!dontCheckProgram) {
name = fProgText.getText().trim();
if (name.length() == 0) {
setErrorMessage(LaunchMessages.getString("CMainTab.Program_not_specified")); //$NON-NLS-1$
@ -552,7 +554,6 @@ public class CMainTab extends CLaunchConfigurationTab {
setErrorMessage(e.getLocalizedMessage());
return false;
}
}
return true;
}