David DeMar
David DeMar

Reputation: 2650

Any way to get the console run as a tab in Visual Studio 2010?

In Eclipse, when a program is run the output is displayed in a tab in the bottom portion of the screen. Is there any way to do this in Visual Studio?

For example if my program prints Hello World I want it to show Hello World in some sort of console tab instead of opening up in a totally different window.

Upvotes: 3

Views: 1447

Answers (3)

Niranjan Singh
Niranjan Singh

Reputation: 18290

Visual Studio also have Output Panel, where you can view debug process and console output etc.

you can access this from View Menu -> Output or Debug Menu -> Windows -> Output. Debug menu will let you to see the printed console output while you are debugging or running the program.

or using keyboard shortcut Ctrl + W,O.

To print some thing in output windows use System.Diagnostics.Debug.WriteLine() or System.Diagnostics.Debug.Write() methods.

output window

Upvotes: 2

user1429899
user1429899

Reputation: 288

You can use System.Diagnostics.Debug.WriteLine method.

Upvotes: 0

josh shadowfax
josh shadowfax

Reputation: 304

Navigate to Debug -> Windows -> Output

Upvotes: 0

Related Questions