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:
parent
dbfc08f12c
commit
bb1b08484a
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue