David Cumps
Posts: 319
Nickname: cumpsd
Registered: Feb, 2004
|
David Cumps is a Belgian Student learning .NET
|
|
|
|
DebugView
|
Posted: Mar 28, 2005 1:27 AM
|
|
|
This post originated from an RSS feed registered with .NET Buzz
by David Cumps.
|
Original Post: DebugView
Feed Title: David Cumps
Feed URL: http://weblogs.asp.net/cumpsd/rss?containerid=12
Feed Description: A Student .Net Blog :p
|
Latest .NET Buzz Posts
Latest .NET Buzz Posts by David Cumps
Latest Posts From David Cumps
|
|
Another very nice tool was DebugView. This is a tool from Sysinternals that enables you to monitor all debug messages on your system. This allows you to have the following in your code: Debug.Write("This is written trough System.Diagnostics.Debug.Write."); Trace.Write("This is written trough System.Diagnostics.Trace.Write."); Debug.WriteIf(inDebug, "This is written because inDebug is true."); Having this in your code is very handy for debugging in an early stage, where you havenât added a logging component, such as Enterprise Library, yet. Or in a scenario where you donât want to attach the Visual Studio Debugger, or canât attach it, but still want to view some debug information from your program.
Itâs also possible to connect to a remote computer, and intercept these debug messages remotely

After having added code like this, the only thing that has to be done is open DebugView and run the program. DebugView would then intercept the messages and display them as following:

This tool is only 240 KB in size, and completely free, which is really amazing for such a powerful and useful tool.
Read: DebugView
|
|