How do I make my classes show float-over info like PointF "{X=1.0 Y=2.0}"

  • Thread starter Thread starter Devin Dow
  • Start date Start date
D

Devin Dow

Framework Classes, like Point, PointF, Rectangle, etc., show nice info when
you float over them or do a watch. For example, floating over a PointF
shows "{X=1.0 Y=2.0}" But my classes only show the Type, for example
"MyNamespace.MyType". It's a shame that it's not as easy as just
implementing ToString().

(e-mail address removed)
Please reply via email.
 
Framework Classes, like Point, PointF, Rectangle, etc., show nice info when
you float over them or do a watch. For example, floating over a PointF
shows "{X=1.0 Y=2.0}" But my classes only show the Type, for example
"MyNamespace.MyType". It's a shame that it's not as easy as just
implementing ToString().


You can edit the file VS.NET\Common7\Packages\Debugger\mcee_cs.dat



Mattias
 
Back
Top