Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Find References: Results with '?'

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
rhummer Posted - Aug 02 2007 : 11:56:49 AM
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:

4   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Nov 18 2013 : 3:18:56 PM
case=8024 is fixed in build 2007 (see results window context menu).
feline Posted - Aug 02 2007 : 2:08:10 PM
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
rhummer Posted - Aug 02 2007 : 12:13:21 PM
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.
feline Posted - Aug 02 2007 : 12:07:22 PM
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?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000