简体   繁体   中英

Visual Studio 2010 output window missing debug info

I am trying to write some output from my unit tests using System.Diagnostics.Debug.WriteLine(...)

The problem is, each time I run the test, I cannot see the debug info in the output window. It was working fine and for some reason the debug option is now missing in show output from drop down.

Here is screenshot: 输出窗口缺少调试选项”

Make sure your build output is set to the appropriate verbosity by setting the following options in Tools > Options:

在此处输入图片说明

If that doesn't work, there are further suggestions available here .

I figured it out:

I noticed in my Test Results window, after running the test, next to the little success green circle , there is another icon, i doubled clicked it. It was my test results, and it included all of the types of debug messages.

在此处输入图片说明

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