See issue 143501. It was fixed, but current gdb from cygwin does not work with input redirection.
Gdb command :
run < input
just passes "< input" as arguments to the program.
I did not find the way how to deal with it, so I create this issue and close the general one (issue 143501).
This issue does not affect remote development,
simple workaround is to use external console.
lowering priority to P3 because of the simple workaround - use external terminal
still requires fixing
another workaround is to use attach
now there is yet another workaround - internal terminal
I cannot debug my cli application because no input is transefered to my application.
external terminal - valid only for c++ and this is a java app.
use attach - Its very combersome to compile the application, run it from a cmd window and then attach to it.
internal terminal - does not work - I tried opening windoe->output terminal
pressed local terminal received null message.
It seems the usage of jline for commands history was the cause for the problem.