简体   繁体   中英

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.

在此输入图像描述

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.

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"

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM