Link to home
Start Free TrialLog in
Avatar of Daniel Wilson
Daniel WilsonFlag for United States of America

asked on

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
http://forum.java.sun.com/thread.jspa?threadID=657351&messageID=3862741

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

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Mayank S
Mayank S
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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