Debugging trace with Silverlight 4<!-- --> | <!-- -->Patrick Desjardins Blog
Patrick Desjardins Blog
Patrick Desjardins picture from a conference

Debugging trace with Silverlight 4

Posted on: September 1, 2011

Sometime it can be useful to get some tracing line when debugging. For quick trace, I usually use System.Diagnostics.Debug.WriteLine method. This is still working with Silverlight. Also, the System.Diagnostics.Debugger.Log method can also log into the Output windows (Under Debug) of Visual Studio.

1System.Diagnostics.Debug.WriteLine("~~~~~ WriteLine ~~~~~"); System.Diagnostics.Debugger.Log(0, null, "########### Log ##########\\n");