Re: Redirect output to file in debugger

Tech-Archive recommends: Fix windows errors by optimizing your registry




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 that
appears on cout to a file. I do this by using the ">" operator
just
like you would do on the command line. The "command arguments"
entry
looks like "inputfile.txt > debug.txt".

My problem is, that the debug.txt file always ends up in the
directory
"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE",
unless I explicitly specify the full path, which is something I
want to
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
------------------------------------------------------------------------

.



Relevant Pages

  • Re: Lebans Continuous Forms Sample Problem
    ... Subclassing/VB IDE bug. ... If you have had or currently opened the VB IDE ... >> Access Code, Tips and Tricks ...
    (microsoft.public.access.formscoding)
  • Re: Unhandled Exception in Form Load in EXE but not in IDE
    ... IDE by the normal Try-Catch syntax are not caught in an EXE unless the JIT ... If this is by design then it is a silly design but I ... So the answer to your last question about whether or not it's a bug in IDE ...
    (microsoft.public.dotnet.languages.vb)
  • Re: IDE changing file subtype from Form to Code???
    ... Not sure it that is a bug or if it is fixed, but for what is worth, the list ... > Our development team has a problem where the IDE will automatically change ... > the code type in the .csproj files from one type to another, ...
    (microsoft.public.vsnet.ide)
  • Re: kernel BUG at drivers/ide/ide-disk.c:187 (2.6.31)
    ... Thus when the unknown block layer request is encountered the best thing ... Yes, but if you BUG() in this kind of location, the chance of getting ... the debugging information from the user can be close to zero. ... I really do not have to work on IDE ...
    (Linux-Kernel)
  • Re: Ctrl+Y invokes Delete Current Line instead of Redo...
    ... It should be a bug. ... I'm not trying to start a flame war here, but my goodness you complain ... Visual Basic .Net is not C++ and the VB 2005 ide is not the ide ... so either adjust to the new language/ide (or ...
    (microsoft.public.dotnet.languages.vb)