Re: Redirect output to file in debugger
- From: soniasinghal <soniasinghal.242jlv@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Mar 2006 13:59:02 -0600
Even putting "input_arguments > C:\out.txt" in the "command arguments"
field doesnt work for me. No file gets generated ( in C:\ or in the IDE
directory ). I am using 2003. What needs to be done to redirect the
output ( anywhere would do ).
Thanks,
~ Sonia
Oleg Starodumov wrote:
*
That part works fine, but I also want to redirect the output thatjust
appears on cout to a file. I do this by using the ">" operator
like you would do on the command line. The "command arguments"entry
looks like "inputfile.txt > debug.txt".directory
My problem is, that the debug.txt file always ends up in the
"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE",want to
unless I explicitly specify the full path, which is something I
avoid.
This is a known bug in VS2002/2003 (fixed in VS2005).
Regards,
Oleg
[VC++ MVP [url]http://www.debuginfo.com/[/url]] *
--
soniasinghal
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
.
- Follow-Ups:
- Re: Redirect output to file in debugger
- From: Oleg Starodumov
- Re: Redirect output to file in debugger
- Prev by Date: Re: output files not reloaded during debug
- Next by Date: Re: output files not reloaded during debug
- Previous by thread: Re: output files not reloaded during debug
- Next by thread: Re: Redirect output to file in debugger
- Index(es):
Relevant Pages
|