Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-07-25 11:57:30 -0400
committerDarin Wright2006-07-25 11:57:30 -0400
commit01d4d26666a9309ddab46f409c0f538edbad6bbf (patch)
tree6a11cbd64c56f0fc5f19f40909064f425d8052d6 /org.eclipse.debug.core
parent6227a5ebd85d7ad726c3a175cff8a1f1c56841ad (diff)
downloadeclipse.platform.debug-01d4d26666a9309ddab46f409c0f538edbad6bbf.tar.gz
eclipse.platform.debug-01d4d26666a9309ddab46f409c0f538edbad6bbf.tar.xz
eclipse.platform.debug-01d4d26666a9309ddab46f409c0f538edbad6bbf.zip
Bug 138252 [console] Stream closed while debugging
Diffstat (limited to 'org.eclipse.debug.core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java
index a714f1db8..16780bc68 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java
@@ -154,7 +154,9 @@ public class OutputStreamMonitor implements IFlushableStreamMonitor {
}
}
} catch (IOException ioe) {
- DebugPlugin.log(ioe);
+ if (!fKilled) {
+ DebugPlugin.log(ioe);
+ }
return;
} catch (NullPointerException e) {
// killing the stream monitor while reading can cause an NPE

Back to the top