1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-17 22:15:23 +02:00

Fix 177841. Work around for platform bug new in 3.3.

This commit is contained in:
Ken Ryall 2007-09-21 20:33:07 +00:00
parent dbfc08f12c
commit bb1b08484a

View file

@ -184,10 +184,11 @@ public class LocalCDILaunchDelegate extends AbstractCLaunchDelegate {
} }
wc = config.getWorkingCopy(); wc = config.getWorkingCopy();
wc.setAttribute( ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, pid ); 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 // We need to reset the process id because the working copy will be saved
// when the target is terminated // when the target is terminated
wc.setAttribute( ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, (String)null ); wc.setAttribute( ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, (String)null );
wc.doSave();
cancel( "", -1 ); //$NON-NLS-1$ cancel( "", -1 ); //$NON-NLS-1$
} }
IPath exePath = verifyProgramPath( config ); IPath exePath = verifyProgramPath( config );