469,586 Members | 2,196 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,586 developers. It's quick & easy.

Debug/output

Hi

I am "playing" with some simple aspects of C# with Visual Studio. All I
would like to know right now is how do I get the Console.Write method to
write its output in the Visual Studio debug/output pane? At the moment my
application creates a "command" window and writes output there (all by
itself) - and said window closes itself when the application terminates. (So
I guess somewhere in Visual Studio configuration there is an output
redirection setting or something...?)

Thanks,
Peter
Nov 17 '05 #1
2 2094
What type of application is it? WinForms applications usually write
Console.WriteLine output to the output pane. Console applications,
logically, write them to the console window.

I think there's a setting somewhere that will tell VS not to close the
console window when done debugging, at least.

Nov 17 '05 #2

"Bruce Wood" <br*******@canada.com> skrev i en meddelelse
news:11**********************@g47g2000cwa.googlegr oups.com...
What type of application is it? WinForms applications usually write
Console.WriteLine output to the output pane. Console applications,
logically, write them to the console window.

I think there's a setting somewhere that will tell VS not to close the
console window when done debugging, at least.


It is a "console" application - I just thought that as I had it running in
debug mode via Visual Studio console output would be redirected to the
output window in Visual Studio. Anyway, the simple solution was to add a
"readline" to cause the window to stay popped up.

Thanks,
Peter
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by | last post: by
46 posts views Thread by Ian Boyd | last post: by
3 posts views Thread by Arman Sahakyan | last post: by
6 posts views Thread by Andrew Rowley | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.