If you are developing .net applications such as managed windows services, managed Add-Ins for MS Office or Interope application such Deskbar search etc.. and want to debug output without attching debugger or in production enviroment remotely you can use the DebugView for Windows v4.64.
Following is the step by step example of the same
1) Create a sample concole application in c#
2) Write following line of code
using System;
using System.Collections.Generic;
using
namespace
{
System.Diagnostics.
}
3) Write a app.config file with the following settings
<?
<
<!--
receive general trace messages change the value to the
appropriate level. "1" gives error messages, "2" gives errors
and warnings, "3" gives more detailed error information, and
"4" gives verbose trace information
</
4) Run DebugViewer .exe and then exccute your application
5) You should see the trace output on your DebugViewer.exe grid.
This tool is very helpful in troubleshooting errors when developing Managed or Interop applications. There are other tools as well which can be used for debugging .net application or windows application at runtime such as Cordbg.exe (Managed Code only) and Windbg