0

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: Output window missing debug option"

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
user438975
  • 263
  • 1
  • 4
  • 12

2 Answers2

0

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

enter image description here

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

Community
  • 1
  • 1
Deleted
  • 900
  • 5
  • 9
0

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.

enter image description here

user438975
  • 263
  • 1
  • 4
  • 12