This is a mirror of official site: http://jasper-net.blogspot.com/

Using BugAid to flatten class hierarchies while debugging

| Thursday, September 8, 2011
While debugging deep class hierarchies in Visual Studio, I was often annoyed by having to constantly expand the “base” nodes to get to see the members I wanted to see. This happens because Visual Studio  only shows fields and properties declared on the given type, and tucks all the members of the base classes under the “base” node. This is helpful in some cases, but more often that not, I found that it gets in my way.

And so, after trying Jared’s solution, I decided to have a go at it and try to fix this problem in BugAid.

The idea is that if you’re interested in a property of the base class, you can star that property, which causes the property to appear at the top of members list, and also in the text of its parent.

So for example, in the following scenario, I had to expand two base nodes to get to see the properties I wanted, “Important” and “Interesting”:

InheritingStars1.png

Read more: BugAid
QR: https://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://www.bugaidsoftware.com/2011/09/using-bugaid-to-flatten-class-hierarchies-while-debugging/

Posted via email from Jasper-net

0 comments: