Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Displaying object value in tooltip while debugging

When you use for example an object of type System.Drawing.Point. While debugging in break mode and hovering over the variable name, a tooltip displays the value of the object. it looks like the output of ToString.

Now I created a class very similar to System.Drawing.Point, overloaded ToString to return some info about the object contents. While debugging I just get a tooltip displaying the classname!

What's the magic here? How do I get the ToString return value in the tooltip while debugging?

Thanks in advance for any help.

Geert-Jan Thomas
Friday, August 20, 2004

*  Recent Topics

*  Fog Creek Home