Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-06-12 12:18:43 +0000
committerUwe Stieber2014-06-12 12:18:43 +0000
commit798d3de6b0255be0ed1092dc9d31432e26f62afb (patch)
tree8e2e6a482e459a5143c9c21b02586f0208b18ccd
parent34a3fa2aaef17580142b7227ad43862279eb5c2f (diff)
downloadorg.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.java3
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,

Back to the top