Console Compile Errors not in order with main() calls ?

Have few lines which print to console, system.out

Calling a method which triggers an exception, like out of bounds for example, will make those errors appear at top in console, interupted by some system.outs...
Spamming the green arrow will randomly show those errors at bottom as it should be...

Setting or Bug ?

3 comments
Comment actions Permalink

Example from console windows. OutOfBound Method is called last in main(), not at first !

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 20
Empty Node found, adding! 10
at Node.find(Node.java:74)
at Main.main(Main.java:22)
Duplicate Node found, skip!
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Going left!
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Empty Node found, adding! 4
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Going left!
at java.lang.reflect.Method.invoke(Method.java:497)
Going left!
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Empty Node found, adding! 3[/code]

0
Comment actions Permalink

Yes similar to this. And you link is 4 years old and still no fix ??

Going back to Eclipse ...

0

Please sign in to leave a comment.