Chris
Chris

Reputation: 433

How to view debugging output in Visual Studio 2010?

How can I set Visual Studio to provide a similar level of debugging output to Aptana Studio 3? I am using Visual Studio 2010, C# 4.0, and Windows Phone 7.1.

I am looking to have it output all of the debug information to the console automatically without me having to tell it to - like Aptana.

Upvotes: 4

Views: 43329

Answers (3)

ʞᴉɯ
ʞᴉɯ

Reputation: 5594

You can set the debug output in your code with Console.WriteLine or Debug.Writeline.

If you intend instead of build output, you can change verbosity by Tools > Options > Project and Solutions > Build and Run and change values of "MSBuild project build output verbosity"

Upvotes: 14

CharithJ
CharithJ

Reputation: 47490

enter image description here

If you want to see variable values while debugging the application you can use "Quick Watch", "Add Watch" or Autos.

In Visual Studio 2010, the Autos Window displays variables on the current line and one line above and below.

Look at here for more debugging window help.

Upvotes: 23

slugster
slugster

Reputation: 49974

Make sure you have the Output window showing, go to View -> Output. If this doesn't cover what you want then edit your question and mention the exact debugging info you are after - VS pretty much has it all, just not necessarily shown by default.

Upvotes: 3

Related Questions