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
 Goto Implementation works poorly in VA.X
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

scs0
Junior Member

15 Posts

Posted - Jan 28 2005 :  11:25:12 PM  Show Profile
I upgraded from VA_X_Setup1246.exe to VA_X_Setup1289.exe and I'm developing with VS.Net 2003 using C++.

I've found that the "Goto Implementation" feature doesn't work as well as it used to. I often find myself clicking on the button without seeing any results whatsoever. I just don't remember it being so unreliable in the past, but it's still far better than the implementation that Microsoft uses which doesn't ever seem to work.

As a suggestion I think it would be nice if the "Goto Implementation" could tell the difference between a forward definition and a true definition of a class. I will often declare a class in a headerfile like this:

class MyClass;

The "Goto Implementation" feature usually finds them and lists them instead of finding the place where the class is actually defined.

support
Whole Tomato Software

5566 Posts

Posted - Jan 29 2005 :  10:37:34 AM  Show Profile
Where are your source files relative to your headers? In the same directory? In a sibling?

Do the implementations declared in foo.h reside in foo.cpp?

Read "Location implementations" for info on how VA X finds what it does:

www.wholetomato.com/products/features/goto.html?more=yes
Go to Top of Page

scs0
Junior Member

15 Posts

Posted - May 23 2005 :  10:25:37 AM  Show Profile
quote:
Originally posted by support

Where are your source files relative to your headers? In the same directory? In a sibling?

Do the implementations declared in foo.h reside in foo.cpp?

Read "Location implementations" for info on how VA X finds what it does:

www.wholetomato.com/products/features/goto.html?more=yes



Hi

I see the bug quite often so I'm not sure where the file name relates to the file that's currently open. I haven't read your link, but from a user's point of view if the compliler can find the file then so should VA. Can't you just open up the set file and look through all the paths until you find the file? I've given up hope in Microsoft ever implementing this feature properly but your software is so close to doing it right that I know you could get it. If you could rollback the functionality to what was in the software just a few versions ago the feature will work much better.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 23 2005 :  11:17:28 AM  Show Profile
Compilers get to eliminate lots of headers by processing #ifdefs. VA X doesn't do this. (Long story but it's by design.)

Is there anything peculiar about the symbols for which Goto works versus doesn't work?

Does VA X know the definition of a symbol for which Goto does not work? (Click the symbol and see what appears in our Definition field.)
Go to Top of Page

guyv
New Member

4 Posts

Posted - Jul 19 2005 :  3:00:44 PM  Show Profile
VA_X.dll file version 10.1.1418.0 built 2005.06.24
Licensed to:
VA X: [email protected] (7-user license) Support ends 2006.02.28
VAOpsWin.dll version 1.2.0.4
MSDev.exe version 6.0.9782.2
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

Platform: Win32 (x86)
Stable Includes:
C:\\DXSDK\\INCLUDE;
C:\\PROGRAM FILES\\MICROSOFT SDK\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\XJ\\AnyStates 3.0.1\\Platforms\\Win32\\Include;
C:\\CG2\\VTREE4\\INCLUDE;
C:\\EAX2.0SDK\\INCLUDE;
C:\\MAK\\VRLINK3.7.2-NGC\\INCLUDE;
C:\\MAK\\MAKRTI1.3.6-NGC\\INCLUDE;
C:\\UG97MFC\\INCLUDE;
C:\\PROGRAM FILES\\DISCOMM;

Library Includes:
C:\\PROGRAM FILES\\MICROSOFT SDK\\SRC\\MFC;
C:\\PROGRAM FILES\\MICROSOFT SDK\\SRC\\ATL;
C:\\PROGRAM FILES\\MICROSOFT SDK\\SRC\\CRT;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:

Hi,

I am having similar problems. I noticed that the the goto definition field is empty when I click on a class (ex. class TVector) that is included as follows:

#include "geo/TVector.h"

If I move the file from the folder geo/ to its subfolder, then everthing is ok.

I hope this help in finding the problem. If you have a suggestion that will avoid this problem, then I surely would like to hear about it.

Thanks,
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 19 2005 :  5:10:39 PM  Show Profile
Does your VC6 project have Additional Include Directories set?
Go to Top of Page

guyv
New Member

4 Posts

Posted - Jul 19 2005 :  6:43:10 PM  Show Profile
The parent folder of ./geo/ is not present in the VC6 environment additional include directories. However, the parent foler is present in the DSP project additional include directories. For many reason (which I won't get into right now) I cannot added to the VC6 environment additional include directories.

NOTE: This was working fine before I updated to VA_X_Setup1418.exe. I Was using VA_X_Setup1297.exe in the past.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 19 2005 :  8:01:02 PM  Show Profile
case=689 vc6 project additionalIncludeDirectories not extracted

This will be fixed in the next build.

In the meantime, I believe a workaround is to add the parent folder to the VA "Other include files" list on the C/C++ Directories node of options dialog (you will have to change the VA platform from Win32 to Custom).
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000