[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Re: Debug use standard input

Ryan L. Sun wrote:

HI ALL,

I wrote a program which process the data sent from standard input and print sth out.
In console, i can execute it by:
cat input_file | ./some_program
or
../some_program < input_file

My question is where can i specify reading input from file when debugging?
In the lauch/debug configuration go to the tab Common. Select file for Standard I nput and Output