Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1535 - Find References for virtual funco no good
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - Sep 19 2006 :  11:24:01 AM  Show Profile  Reply with Quote
If I invoke a Find References for a an overridden virtual function in a derived class, the results window does not display any references to the base class's function. Therefore I can't see where it is called, as it is called virtually from the base class in this case.

rhummer
Tomato Guru

USA
527 Posts

Posted - Sep 19 2006 :  3:19:51 PM  Show Profile  Reply with Quote
already been reported..

case=1287

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Sep 19 2006 :  3:44:26 PM  Show Profile  Reply with Quote
A workaround for this problem is to do a find references on the method declaration in the base class. Of course, this in turn doesn't show the calls that are invoked on the derived classes.
Go to Top of Page

swinefeaster
Tomato Guru

310 Posts

Posted - Sep 19 2006 :  4:45:34 PM  Show Profile  Reply with Quote
i also got some weird entries that didn't relate... just a "// Comment" line which didn't even mentioned the function I was looking for...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 23 2006 :  6:16:36 PM  Show Profile  Reply with Quote
swinefeaster was there a pre-processor directive on the same line as the comment?
find references should not be picking up random comment lines.

can you reproduce this effect? if so is there any change of a code sample showing the effect?

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 06 2006 :  7:56:24 PM  Show Profile  Reply with Quote
Fixed in 1538.

Rename in a base class changes overriding names in derived classes. Rename of a overriding member in a derived class does not rename within a base class.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000