My code includes this line:
while(input.hasNext()) { int variable = input.nextInt(); ... }
When I step through the code, jdb stops at the beginning of the while loop and I can't find a way to get past it.
How does one debug code requiring a user input with the command line debugger?