How do I show complete java exception trace, not "... 5 more"

I'm debugging a java class (from SourceForge) from the command line.  With some input files, it throws an exception and prints a bunch of trace information -- but not all it has.  It terminates with "... 5 more".

this addresses the issue

But is there a way to get the java runtime to print the entire trace rather than truncating it?

LVL 32
Daniel WilsonAsked:
Who is Participating?
Mayank SConnect With a Mentor Associate Director - Product EngineeringCommented:
Try calling getStackTrace () and print it yourself:

Otherwise try printStackTrace ( out ) ; and write it to a file, see if it helps.
do the following in console

java classname >exception.txt
less exception.txt
Or if you are in Windows,

java clasname >exception.txt
notepad exception.txt
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.