Skip to main content
diff options
authorAnton Leherbauer2015-05-05 11:39:53 +0000
committerAnton Leherbauer2015-05-05 11:50:46 +0000
commitcf7c20392b15946fa202909ff815625cb33d36d3 (patch)
parent188c74c2ebb0ab5a1650b95bee2810772487e896 (diff)
TCF Debugger: Disassembly view can get unresponsive on context change
The disassembly view handles a debug context change only after any pending request is completed. The TCFDisassemblyBackend did not reset the update pending flag when a request got invalid due to a debug context change. This could make the view unresponsive waiting for the completion of the pending request.
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/
index 438a52244..7dceea73a 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/disassembly/
@@ -1,5 +1,5 @@
- * Copyright (c) 2010, 2014 Wind River Systems, Inc. and others.
+ * Copyright (c) 2010, 2015 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -265,7 +265,6 @@ public class TCFDisassemblyBackend extends AbstractDisassemblyBackend {
else if (!done) {
done = true;
/* Don't call setUpdatePending() if pending state was reset by the view */
- if (context_cnt != fContextCount) return;
if (!fCallback.getUpdatePending()) return;

Back to the top