AspAlliance.com LogoASPAlliance: Articles, reviews, and samples for .NET Developers
URL:
http://aspalliance.com/articleViewer.aspx?aId=925&pId=-1
Cool VS 2005 Debugging Visualizers for ASP.NET 2.0 Development
page
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 15613/ 28

Introduction

Republished With Permission - Original Article

One of the cool new features in VS 2005 is a debugging extensibility feature called "Debugger Visualizers".  Basically this provides a way for developers to build and use UI extensions within the VS debugger that provide richer data visualization and analysis of types and variables within a running program.

Feb 6th Update: Frans Bouma just posted a good article that talks about some tips for writing new Debugging Visualizers.

K. Scott Allen published a cool sample today of an ASP.NET control graph visualizer that allows you to obtain a graph of a server control and its children.  Simply hover over a "this" (in C#) or "Me" (in VB) reference on your page while in the debugger, and you'll be able to see the entire server control hierarchy for your page while on a breakpoint in the debugger:

Figure 1

A quick search on the web also found this cool Regex Debugging Visualizer by Roy Osherove:


Figure 2

And Howard van Rooijen's really cool XML Visualizer:

Figure 3

 

All of the above visualizers are free (and most ship the source code).  Definitely some cool things to add to the tool-chest! 

Hope this helps (and a special thanks to the guys above for building these -- they really rock),

Scott

References

ASP.NET Cache Visualizer by Brett Johnson

Resources

Product Spotlight
Product Spotlight 

©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-28 10:54:56 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search