PDA

View Full Version : eclipse debugging and standard input



jordilin
January 11th, 2008, 04:20 PM
I am doing some software in java using my lovely Ubuntu Gutsy and the latest version of Eclipse 3.3.1.1. My program is a parser that accepts standard input and should be executed like:
cat file.txt | javaprogram
I want to debug it, but I do not know how to put stuff into my program (standard input) from Eclipse. In the open debug dialog, the common tab, there is a section that says Standard input and output, but I have no idea how it works.
Any idea or link on how can I introduce stuff into the standard input of my program in the Eclipse debugging section. Hope I have explained myself correctly.
Thanks