--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/ExecutablesTab.java Tue Jan 05 18:36:01 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/ui/ExecutablesTab.java Wed Jan 06 07:53:39 2010 -0600
@@ -284,7 +284,7 @@
// which causes the apply button to become enabled which is not expected behavior. this will
// be called later if/when they do specify the main program, so we'll make sure then that it's
// actually being targeted.
- if (programName.length() > 0) {
+ if (programName != null && programName.length() > 0) {
boolean resetProgramName = true;
// check to see if the current program name is one of the executables to target
for (ExeFileToDebug exeFileToDebug : executablesToTarget) {