Home Dashboard Directory Help

Class View is broken in Visual Studio 2010 RTM by {BE5FC0E9-3EAB-4536-BE4A-EA85571


 as Postponed Help for as Postponed

Sign in
to vote
Type: Bug
ID: 568363
Opened: 6/17/2010 1:44:15 AM
Access Restriction: Public
User(s) can reproduce this bug


Class View in a C++ Project:
After a few steps up the Class hierarchy of Base Classes the chain ends unexpected.
Base class variables and Member functions dont show up in the lower splitter pane of class view.
Class View Toolbar Button option "Show inherited Members" has no effect at all.

This Behavior makes Class View nearly useless in VC 2010.

I have filed this Porblem under XP, but it's the same on a Win 7 machine.

Kind regards

UPDATE: This bug still exists in VS2010 SP1 Beta1
Sign in to post a comment.
Posted by Microsoft on 3/20/2011 at 2:26 AM
Hello Ralf, Marcelo2011, InternetCreation and Others,

First of all, my sincere apologies for such a long delay in the response.

We have fixed parts of this problem in the SP1 release of Visual Studio 2010. Unfortunately, the SP1 fix is incomplete in a couple of ways –
1.    The members from the base classes that are in the implicit headers (not directly included in your project) still do not show up.
2.    Derived class members show only 3 levels of inheritance chain.

Possible work-around for these are –
1.    For #1 above - Directly include the implicit headers that have the base classes. The members from the base classes then show up in Class View. Of course this is not a perfect solution, as this ends up showing many additional classes in the Class View. Although selecting a node in the Class View and typing the name of the desired type allows you to quickly navigate to the right type.
2.    For #2 above - Complete the picture transitively by expanding the base classes in the top pane and observing the members in the bottom pane.
Additionally, as suggested by ‘InternetCreation’ earlier, using Class Diagram is one more alternative.

I realize that these ‘work-around’s are not sufficient, but I hope that these will mitigate your problems to some extent till we can fix this is the next possible public release of Visual Studio. We have added this bug to the current backlog and are working on fixing it. I am going ahead and closing this report for now.

Thanks again for your continued feedback,
Sumit Kumar
Visual C++ Team
Posted by Marcelo2011 on 3/8/2011 at 12:20 PM
I posted this bug when Visual Studio Beta was released and it hasnt been fixed since then. It is important that they fix it. I would like to use Visual Studio 2010 but this bug and the slugishness of the IDE, is preventing me in doing so. I am still using VC++6.0.
Posted by InternetCreation on 12/16/2010 at 7:34 PM

I have the same problem! Inherited Member functions of Microsoft Classes (i.e. CObject, CWnd) are not shown in the function pane of 'Class View', but inherited member functions of own written classes are displayed when selecting base class (untill you end up with an MS Class which functions are not displayed)!


(workaround: make class diagram to see all functions)
Posted by {BE5FC0E9-3EAB-4536-BE4A-EA85571 on 12/13/2010 at 9:42 AM
Bug still exists in VS2010 SP1 Beta 1
Posted by Microsoft on 7/8/2010 at 12:40 AM
Hi Ralf,

Thanks for reporting this bug to us. We are aware of this issue and have fixed it. The fix should be available in a future service pack release. In the interim, some functionality available in Visual Studio 2010 can be used as a work around. You are perhaps aware that the MemberList IntelliSense operation on an object/pointer shows all the members inherited from the base classes. Also, the class name with "::" accessor shows the members from the base classes.

We apologize for the inconvenience caused due to this bug in Class View.

Sumit Kumar
Visual C++ Team
Posted by Microsoft on 6/18/2010 at 1:05 AM
Thank you for reporting the issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution.These specialized experts will follow-up with your issue.
Posted by Microsoft on 6/17/2010 at 5:02 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by okigan on 10/4/2011 at 8:39 PM
1) Disable VS intellisense Tools\Options\Text Editor\Advanced\Disable Database
2) Get VisualAssist from http://www.wholetomato.com/ and C++ refactoring as well

Not affiliated with VisualAssist in any way