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
 Find References: Results with '?'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rhummer
Tomato Guru

USA
527 Posts

Posted - Aug 02 2007 :  11:56:49 AM  Show Profile  Reply with Quote
I'm not sure if this is a bug or, if it will turn into a request.

When running Find References on some methods that are very common names, like an Init, Shutdown, Enable. Find References will return results that are in no way related to the method I am searching for.

So I can search for FooClass:Init, Find References will show me all uses of FooClass::Init. Then it will often show me BarClass::Init and FooBarClass::Init, with the dimmed file icon and '?' icon for the found references. Which BarClass and FooBarClass are not related to FooClass at all. Is this a bug, or working as intended?

If it is working as intended, I would like to request the ability for Find References to ignore 'guessed' results. It often clutters up the results. I ran it on a method and got over 200 results, with the majority of the results with the '?' icon, leaving about 20 results with things I was actually looking for. As you can imagine it was very annoying and frustrating to find what I was looking for in those results.

VA X Info:
VA_X.dll file version 10.3.1559.0 built 2007.07.06
Licensed to:
VAOpsWin.dll version 1.3.2.4
VATE.dll version 1.0.5.8
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Custom
Stable Includes:
C:\\Program Files\\Microsoft DirectX SDK (August 2006)\\Include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Other Includes:


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

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 02 2007 :  12:07:22 PM  Show Profile  Reply with Quote
It has been quite a long time since I last saw VA do something like that. I do recall seeing it get a bit confused when working with a lot of STL iterators, but that does not sound quite like the case you are describing.

Do you have a file, or piece of code that illustrates this effect?

Are any of the question mark icons actually valid references?

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

rhummer
Tomato Guru

USA
527 Posts

Posted - Aug 02 2007 :  12:13:21 PM  Show Profile  Reply with Quote
The cases I have found, no templates where involded, they are mainly 'manager' type classes.

I'll send an email via the support form with a zip of a solution where I can reproduce it.

The question mark icons are not valid references. In one of my test I was searching for an 'Enable' method to a manager class. Find References returned results to UI control objects with an Enable method, which is totally invalid.

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

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 02 2007 :  2:08:10 PM  Show Profile  Reply with Quote
I have the files, thank you for these. I am working through them now, and will send a detailed reply via email, since it references specific points in the files.

I have put in a feature request to hide / filter out the Find References Results with the question mark icons:

case=8024

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 18 2013 :  3:18:56 PM  Show Profile  Reply with Quote
case=8024 is fixed in build 2007 (see results window context menu).
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