I\'m using Eclipse to debug a Java application. Somewhere in the code I get an exception and the stack trace:
Caused by: java.io.EOFException: The connection
I have never seen that, but try this
public void problemFunction(){ try{ //your code catch(Exception ex){ ex.printStackTrace(); } }
or
public void problemFunction(){ try{ //your code } catch(Exception ex){ System.out.println(ex); StackTraceElement[] arr = ex.getStackTrace(); for(int i=0; i