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
 Alt-G Goto will not go to header from source
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JCo
Senior Member

Germany
40 Posts

Posted - Sep 10 2012 :  11:37:32 AM  Show Profile  Reply with Quote
Hello,
I am using VA_X.dll file version 10.7.1912.0 with VS 6.0 SP6 built 2012.08.08. I was using VAX 1908 before.

I am trying to Alt-G from the source (caret in the mehod-?s name) to the declaration without success, the reverse works though.
The problem seems to be limited to class methods, I could not see the same behavior for class members.
I could reproduce this with a new MFC wizard generated project (C++, exe).
I just had to move a header file into an G?includeG? subfolder (project settings of course updated) to trigger the problem.
While the compiler was happy and VAX also showed the correct parameter info Alt-G did not take me from source to header.
Restarting or rebuilding the database did not help.

I hope this makes sense to you.

Thanks.

P.S.
VS 2010 seems to be also affected.


VA Info:

VA_X.dll file version 10.7.1912.0 built 2012.08.08
Licensed to:
VA X: xxxxxxxxxxxxxx
MSDev.exe version 6.0.9782.1
Devshl.dll version 6.0.9782.0
Devedit.pkg version 6.0.9782.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.82.6002.18305
Windows Vista 6.0 Build 6002 Service Pack 2
8 processors (x86-64;
WOW64)
Language info: 1252, 0x407

Platform: Win32 (x86)
Stable Includes:
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files (x86)\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Sep 10 2012 :  3:32:31 PM  Show Profile  Reply with Quote
Would you be able to send me this sample project, along with a note on which file and line shows the problem? I can then look into it here.

If so please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

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

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 10 2012 :  4:51:56 PM  Show Profile  Reply with Quote
I was able to reproduce the problem using your description and I have put in a bug report for this:

case=69195

Just to double check, if I understand correctly, your problem is that alt+g doesn't work on methods whom declaration is in an included header file which is not in the project. Is that correct? You also added the directory to the additional include directories, but it doesn't seems to work when including the header using the full path, either.

Does it help if you add the header to your project?

Edited by - accord on Sep 10 2012 4:55:04 PM
Go to Top of Page

JCo
Senior Member

Germany
40 Posts

Posted - Sep 11 2012 :  04:38:42 AM  Show Profile  Reply with Quote
@feline
I have sent the test project.

@accord
You are correct, it seems to happen only with headers that are not part of the project.
I added the include directory to the project specific settings and it did'nt work (no matter if I used relative or absolute paths).
Originally I had the include directory configured in the platform specific settings, but this did not work either.
Strangely it seems to work for system headers.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 11 2012 :  11:42:09 AM  Show Profile  Reply with Quote
thank you for the test project and the additional info
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Sep 11 2012 :  1:34:00 PM  Show Profile  Reply with Quote
The test project was very helpful, thank you for this. This problem should be fixed in the next build of VA, which we are hoping to have ready in the next week.

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

JCo
Senior Member

Germany
40 Posts

Posted - Sep 13 2012 :  03:10:35 AM  Show Profile  Reply with Quote
Wow, already fixed with build 1916. Thank you.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 13 2012 :  2:14:51 PM  Show Profile  Reply with Quote
As you mentioned, case=69195 is fixed in build 1916.
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