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
 GotoImplementation goes to the improper location.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

patria
Junior Member

20 Posts

Posted - Aug 13 2004 :  8:25:19 PM  Show Profile

When I click Alt-G, to go to the method implementation code,
VA always jumps to the wrong location,
a few lines before (about 20 lines) the actual function code.

It always happens, and to clear cache does not help.

Any suggestions?

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Aug 16 2004 :  04:15:12 AM  Show Profile
Which version of VAX are you using and which IDE? There was a bug that did this if you had some "#if 0" directives, but it was fixed several months ago, in build 1218. http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=1429

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004

Edited by - Stephen on Aug 16 2004 04:17:28 AM
Go to Top of Page

patria
Junior Member

20 Posts

Posted - Aug 16 2004 :  5:29:38 PM  Show Profile
Thank you for your reply.
I am using VAX the latest build 1246.
The latest build does not solve this problem still.
Actually, I think I have been living with this
problem for quite a long time and
for each update, I was longing for this to be fixed.

Does my coding style affect such problems?

My class implementation codes show like:

BOOL
CMyClass::
IsCorrect(
LPVOID myParam1,
LPVOID myParam2,
LPVOID myParam3);
{
}

My answer is "Yes, it does seem like that".

The separation of CMyClass:: and IsCorrect
may affect VAX to find the exact location
of the function.

As the more of such functions, the more shift
from the actual location.


BTW, Visual Studio .NET 2003 native functions
"Go to definition" or "Go to declaration" always
get to the right location.

Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Aug 17 2004 :  04:48:26 AM  Show Profile
Yes, I can reproduce this. If the class name and function name are on separate lines, the location gets confused. It's one line out for each such function declaration above the desired point.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 17 2004 :  5:06:12 PM  Show Profile
case=215

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

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 25 2004 :  5:24:16 PM  Show Profile
fixed in the next build.

zen is the art of being at one with the two'ness
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