Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2013-03-14 20:33:24 +0000
committerMarc Khouzam2013-03-16 15:01:29 +0000
commit89a36b0bdd328a7f035717742225c95aada3a6fd (patch)
tree6907d983ca7fca7b79a60e3e7c91e700bad7e52b
parent8877a149726fc3367961b03234ea7d1d29890b4d (diff)
downloadorg.eclipse.cdt-89a36b0bdd328a7f035717742225c95aada3a6fd.tar.gz
org.eclipse.cdt-89a36b0bdd328a7f035717742225c95aada3a6fd.tar.xz
org.eclipse.cdt-89a36b0bdd328a7f035717742225c95aada3a6fd.zip
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>
-rw-r--r--dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java19
1 files changed, 17 insertions, 2 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java
index 42b82306dd2..a36dd5ddc12 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/FinalLaunchSequence.java
@@ -25,6 +25,7 @@ import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
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;
@@ -209,11 +210,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();
+ }
+ });
}
}

Back to the top