Rick van den Bosch - Blog

... on .NET, software architecture, software development and whatnot

Recent Posts

Tags

News

  • Live space

    Photo blog

    Follow me at twitter

    Rick  van den Bosch

    LinkedIn profile

    Add to Technorati Favorites

    Disclaimer
    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Community

Email Notifications

Blogs I read

Interesting links

Archives

Cool tool: DebugView

Taken from the SysInternals website:

The SysInternals web site was created in 1996 by Mark Russinovich and Bryce Cogswell to host their advanced system utilities and technical information. Microsoft acquired Sysinternals in July, 2006. Whether you’re an IT Pro or a developer, you’ll find Sysinternals utilities to help you manage, troubleshoot and diagnose your Windows systems and applications.

One of the must-have SysInternals tools for a developer is DebugView.

DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don't need a debugger to catch the debug output your applications or device drivers generate, nor do you need to modify your applications or drivers to use non-standard debug output APIs.

So that means that an easy Debug.Write (or Debug.WriteLine) statement is picked up by the DebugView tool, and displayed in the tool. From there, you can filter the lines, search them and more...!
The code that made this screenshot: Debug.WriteLine("Written through a simple Debug.WriteLine statement");

DebugViewScreenshot

Technorati tags: ,,

Comments

David said:

But does this work if your .NET assembly was built in Release mode?  I would hazard a guess of No...

# August 8, 2008 12:01 AM

Rick van den Bosch said:

Hi David,

No it doesn't, and I surely hoped id didn't! The classname 'Debug' says it all, doesn't it. ;)

And besides, if it did work, everyone would be able to see the debugging information of any (.NET) application. I can imagine there are companies that do not want that information to become public.

In short: this works in debug builds. It's an expansion to the default Output window of Visual Studio.

Kind regards.

# August 8, 2008 8:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)