ILearnable .Net

August 2, 2007

Visual Studio debugger trick

Filed under: Uncategorized — andreakn @ 10:28

In order to show a custom string when viewing a custom object in the visual studio debugger,

you can attribute the class with
if sometext includes “{parametername}” the value of the parameter with the given name (parametername in this case) will be shown at that point.

If you need more control than that, you can always build a custom debugger visualizer (google it)


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: