When doing a console application in Java with Eclipse, I see the output being put in a text box in the IDE itself, instead of having a console popping up like in Visual Studio. This comes in handy, as even after the program has exited, I can still make good use of the text that was written in it, as it doesn't get erased until I run it again. Is it possible to achieve anything like that with Visual Studio? I know that instead of doing
System.Console.WriteLine(str);
I can do
System.Diagnostics.Debug.WriteLine(str);
but it is not quite the same thing, as you get a lot of "junk" in the Output window, as all the loaded symbols and such.
Even better, is it possible to have everything done in the IDE itself, when you run your application, instead of having the console running?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…