How to view debugging output in Visual Studio 2010?

38,739

Solution 1

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"

Solution 2

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.

Solution 3

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.

Share:
38,739
Chris
Author by

Chris

Updated on July 09, 2022

Comments

  • Chris
    Chris almost 2 years

    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.