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)


Create a free website or blog at