Customize the DebuggerDisplay using autoexp.cs
13th Nov 2006, 18:46 GMT
Hey! Last week Karen K. Liu (PM /C# MS) had a presentation at TechEd in Barcelona about tricks and tips using visual studio and more. One of this tip was to Customize autoexp.cs found in ${mydocuments}/Visual Studio 2005\Visualizers\ I have a Class named MyClass which can be found in the MyNamespace and is located in MyFile.dll, and what i write in the autoexp.cs file is : using MyNameSpace; [assembly: DebuggerDisplay(@"\{Count = {count}}", Target = typeof(MyClass))] and when debugging i want to display the count parameter of MyClass when i hold the mouse over the object. What else is needed to get this to work? I have restarted VS 2005 after editing. A weird thing is that I also changed the DebuggerDisplay for Font (which is already used in the autoexp file), and i created a instance of Font in my [TestMethod]. But not even the font object displayed accordingly to what i wanted. Somehow it looks like the autoexp.cs file is never read... Anyone have a clue? /Halvor
Customize the DebuggerDisplay using autoexp.cs related news:
- [2006 고객만족경영대상] 상 받은 기업·기관 공통점은 — 중앙일보 | 머니
- How to Customize the Shell Prompt — Softpedia - Latest news
- Google Gathers Hosted Apps — PC World: Latest Technology News
- World watches for sign of new US approach abroad — ORNL in the News
- FourSpots Offers Video Ad Templates for Small Biz — News
- Sci-tech plan to shift under Dems — ORNL in the News
- "Aldershot or Chelmsford against Basingstoke is a potentially superb draw" - says CS — BBC Sport | Football | Non League | UK Edition
- College basketball — HeraldTimesOnline.com
- Facts, Fictions and Stories: Two Projects by Adam Broomberg and Oliver Chanarin (2006-11-10 - 2007-02-25) — Art News - absolutearts.com
- [2006고객만족경영대상] 현대백화점 '명예의 전당' 올라 — 중앙일보 | 머니
Latest news from Channel 9:
- Samba Team asks Novell to reconsider
- New Site and I don't know any HTML
- This code smells
- Once you go Mac
- Contractors taking a day off?
- BIG troubles with MSDN Subscription renewal. Any ideas?
- Why I won't give up on the Zune...
- Get away from the computer...
- WCF Ships, Doug Purdy Dances, and Don Box Sings
- Template for a Good Spec?