Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse showing incomplete stack trace for JUnit

 
Onkar Joshi
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An exception occurs in my JUnit. But I can't see the full stack trace. I see "... 23 more" at the end in the JUnit section.

How do I see the full stack trace?
 
Peter Johnson
author
Bartender
Posts: 5855
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "... xx more" message usually occurs when there are nested exceptions. When that happens, the full stack trace is printed for the first exception stack trace, but for each "caused by" exception stack trace, only the portions of the stack trace that do not duplicate the first (or prior) stack trace are printed. Look at the line before "... xx more" - you should be able to go to the first stack trace and locate the same line in that stack trace - and there should be xx more lines in that first stack trace.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic