Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Ryall2007-09-21 16:33:07 -0400
committerKen Ryall2007-09-21 16:33:07 -0400
commitbb1b08484a9854d032f5708c3c048f1cf5c3bfc6 (patch)
treed4d077b4b213402da78a7ac8d89753fe3eb0e2a9
parentdbfc08f12c19946aabc338d6dd50b4d7de353cae (diff)
downloadorg.eclipse.cdt-bb1b08484a9854d032f5708c3c048f1cf5c3bfc6.tar.gz
org.eclipse.cdt-bb1b08484a9854d032f5708c3c048f1cf5c3bfc6.tar.xz
org.eclipse.cdt-bb1b08484a9854d032f5708c3c048f1cf5c3bfc6.zip
Fix 177841. Work around for platform bug new in 3.3.
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/LocalCDILaunchDelegate.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/LocalCDILaunchDelegate.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/LocalCDILaunchDelegate.java
index a024e5dfce0..76ff12f8cba 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/LocalCDILaunchDelegate.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/LocalCDILaunchDelegate.java
@@ -184,10 +184,11 @@ public class LocalCDILaunchDelegate extends AbstractCLaunchDelegate {
}
wc = config.getWorkingCopy();
wc.setAttribute( ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, pid );
- wc.launch( ILaunchManager.DEBUG_MODE, new SubProgressMonitor( monitor, 9 ) );
+ wc.doSave().launch( ILaunchManager.DEBUG_MODE, new SubProgressMonitor( monitor, 9 ) );
// We need to reset the process id because the working copy will be saved
// when the target is terminated
wc.setAttribute( ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, (String)null );
+ wc.doSave();
cancel( "", -1 ); //$NON-NLS-1$
}
IPath exePath = verifyProgramPath( config );

Back to the top