mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +02:00
remove core/pid attribute if we prompted for them after launch
This commit is contained in:
parent
e25bef1bed
commit
22aaaf84bc
2 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
|
|||
ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
|
||||
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_COREFILE_PATH, corefile.toString());
|
||||
wc.launch(mode, new SubProgressMonitor(monitor, 9));
|
||||
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_COREFILE_PATH, (String)null);
|
||||
cancel("", -1); //$NON-NLS-1$
|
||||
} else {
|
||||
dsession = debugConfig.createDebugger().createDebuggerSession(launch, exeFile, new SubProgressMonitor(monitor, 8));
|
||||
|
|
|
@ -84,6 +84,7 @@ public class LocalAttachLaunchDelegate extends AbstractCLaunchDelegate {
|
|||
ILaunchConfigurationWorkingCopy wc = config.getWorkingCopy();
|
||||
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, pid);
|
||||
wc.launch(mode, new SubProgressMonitor(monitor, 9));
|
||||
wc.setAttribute(ICDTLaunchConfigurationConstants.ATTR_ATTACH_PROCESS_ID, (String)null);
|
||||
cancel("", -1); //$NON-NLS-1$\
|
||||
} else {
|
||||
dsession = debugConfig.createDebugger().createDebuggerSession(launch, exeFile,
|
||||
|
|
Loading…
Add table
Reference in a new issue