mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 402988 - Undefined maintenance set python command
Change-Id: Ibce0f4f6349e7bbc50c258250243bd4458dc6790 Reviewed-on: https://git.eclipse.org/r/11177 Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
17569f4581
commit
ed076fcac5
1 changed files with 17 additions and 2 deletions
|
@ -26,6 +26,7 @@ import org.eclipse.cdt.debug.core.model.IConnectHandler;
|
|||
import org.eclipse.cdt.debug.internal.core.sourcelookup.CSourceLookupDirector;
|
||||
import org.eclipse.cdt.dsf.concurrent.DataRequestMonitor;
|
||||
import org.eclipse.cdt.dsf.concurrent.ImmediateDataRequestMonitor;
|
||||
import org.eclipse.cdt.dsf.concurrent.ImmediateRequestMonitor;
|
||||
import org.eclipse.cdt.dsf.concurrent.ReflectionSequence;
|
||||
import org.eclipse.cdt.dsf.concurrent.RequestMonitor;
|
||||
import org.eclipse.cdt.dsf.concurrent.RequestMonitorWithProgress;
|
||||
|
@ -210,11 +211,25 @@ public class FinalLaunchSequence extends ReflectionSequence {
|
|||
new RequestMonitor(getExecutor(), requestMonitor) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
fCommandControl.setPrintPythonErrors(false, requestMonitor);
|
||||
fCommandControl.setPrintPythonErrors(false, new ImmediateRequestMonitor() {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
// Ignore this error
|
||||
// Bug 402988
|
||||
requestMonitor.done();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
fCommandControl.setPrintPythonErrors(false, requestMonitor);
|
||||
fCommandControl.setPrintPythonErrors(false, new ImmediateRequestMonitor() {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
// Ignore this error
|
||||
// Bug 402988
|
||||
requestMonitor.done();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue