I\'m trying to debug a C# application. The method:
System.Diagnostics.Debug.WriteLine(\"something\");
should do the work, but in the Output
I just ran into this issue with Visual Studio 2010 and 2017 and this is what I did to get it to work and I have no explanation as to why it now works.
What I did to get it work. I created a new Windows Form project and added a button which when pressed executed Console.WriteLine("Test"). I saw "Test" in the Output Window. I then loaded my real project and added a button to execute Console.WriteLine("Test") and now it produced output. Further Console.WriteLine statements worked from then on.