79188835

Date: 2024-11-14 13:01:44
Score: 0.5
Natty:
Report link

Yet another way to write traces to the "Output" window of debugger is to use System.Diagnostics.Debugger.Log method:

public static void WriteToDebugger(String message)
{
    Debugger.Log(0, null, message);
    Debugger.Log(0, null, Environment.NewLine);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vurdalakov