View on GitHub

Devendra's Log

Debug logging in C#

A quick tip - debug logging can come in handy when a remote debugging session cannot be established using Visual Studio. Any text logged using methods of class System.Diagnostics.Debug can be viewed with a debug log viewer such as DebugView from Sysinternals.