Community
Participate
Working Groups
When the current thread exception is StackOverflowException, eclipse basically never finishes preparing the display of thread state. Presumably it is preparing a detailed stack trace with millions of steps.... The only way I've found to cope with this is to redo with an artifically small stack allocation. Eclipse ought to cope with this situation better - perhaps lazy evaluation of the stack trace would be better in all cases, and would solve the problem for all threads with a deep stack, not just those that overflow. -- Configuration Details -- Product: Eclipse 4.7.3.20180405-1200 (org.eclipse.epp.package.java.product)Installed Features: org.eclipse.platform 4.7.3.v20180330-0640
Can you give a sample test case with steps?
(rolling my eyes) try this public class overflow { public static void recurser(int n) { recurser(n-1); } public static void main(String args[]) { recurser(1000000000); } }