Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2016-03-24 19:13:35 +0000
committerEugene Tarassov2016-03-24 19:13:35 +0000
commit7d6226ce728c8f32d439e3f8c5e1f7ecabb74ff5 (patch)
tree8312826cded7c9fbb0d6ceb3b25ea8007e37c618 /plugins
parent1493eecba024497067d8061c1fda04dbb2a302a4 (diff)
downloadorg.eclipse.tcf-7d6226ce728c8f32d439e3f8c5e1f7ecabb74ff5.tar.gz
org.eclipse.tcf-7d6226ce728c8f32d439e3f8c5e1f7ecabb74ff5.tar.xz
org.eclipse.tcf-7d6226ce728c8f32d439e3f8c5e1f7ecabb74ff5.zip
TCF Debugger: fixed: unwanted message in error log when launch fails: Debugger console IO error. Stream 0.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
index 66022f6e2..66c5cd9a4 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFModel.java
@@ -1003,7 +1003,7 @@ public class TCFModel implements ITCFModel, IElementContentProvider, IElementLab
}
void onProcessStreamError(String process_id, int stream_id, Exception x, int lost_size) {
- if (channel != null && channel.getState() == IChannel.STATE_CLOSED) return;
+ if (channel == null || channel.getState() == IChannel.STATE_CLOSED) return;
StringBuffer bf = new StringBuffer();
bf.append("Debugger console IO error");
if (process_id != null) {

Back to the top