diff options
author | Uwe Stieber | 2014-06-12 12:18:43 +0000 |
---|---|---|
committer | Uwe Stieber | 2014-06-12 12:18:43 +0000 |
commit | 798d3de6b0255be0ed1092dc9d31432e26f62afb (patch) | |
tree | 8e2e6a482e459a5143c9c21b02586f0208b18ccd | |
parent | 34a3fa2aaef17580142b7227ad43862279eb5c2f (diff) | |
download | org.eclipse.tcf-798d3de6b0255be0ed1092dc9d31432e26f62afb.tar.gz org.eclipse.tcf-798d3de6b0255be0ed1092dc9d31432e26f62afb.tar.xz org.eclipse.tcf-798d3de6b0255be0ed1092dc9d31432e26f62afb.zip |
Target Explorer: Print stacktrace to stdout if channel manager tracing is enabled and the value-add launch failed
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/internal/ChannelManager.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/internal/ChannelManager.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/internal/ChannelManager.java index 1fc69e1e5..3391f274f 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/internal/ChannelManager.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.core/src/org/eclipse/tcf/te/tcf/core/internal/ChannelManager.java @@ -848,6 +848,9 @@ public final class ChannelManager extends PlatformObject implements IChannelMana (error != null ? error.getLocalizedMessage() : null), id }), 0, ITraceIds.TRACE_CHANNEL_MANAGER, IStatus.INFO, ChannelManager.this); + + // Print the stack trace of the error too + if (error != null) error.printStackTrace(); } // If we got an error and the value-add is optional, |