Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-05-27 04:27:38 +0000
committerEugene Tarassov2014-05-27 04:27:38 +0000
commit1f361d42a4e9d5bc4d8bb3cb58017482811530a6 (patch)
tree3f0d65c38dd9ecee9bd9156f94fa9c1855ef98dd
parent8357b949ac1eb0e8fc6b20c8047db5c687fd27f3 (diff)
downloadorg.eclipse.tcf-1f361d42a4e9d5bc4d8bb3cb58017482811530a6.tar.gz
org.eclipse.tcf-1f361d42a4e9d5bc4d8bb3cb58017482811530a6.tar.xz
org.eclipse.tcf-1f361d42a4e9d5bc4d8bb3cb58017482811530a6.zip
TCF Tests: better error message
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
index d1c4554a0..45eeb5a9d 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
@@ -818,7 +818,7 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
while (test_dprintfs[test_cnt * 2 + 1] == null) test_cnt++;
char ch = test_dprintfs[test_cnt * 2 + 1].charAt(char_cnt++);
if (b != ch) {
- exit(new Exception("Invalid ouptput of $printf"));
+ exit(new Exception("Invalid output of $printf: " + test_dprintfs[test_cnt * 2 + 1] + " -> " + new String(data)));
return;
}
if (char_cnt == test_dprintfs[test_cnt * 2 + 1].length()) {

Back to the top