Java Debugging with Input