By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

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

P: n/a
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().

De*******@rsi-inc.com
Please reply via email.
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.