Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Goto not going to position in file

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
yym Posted - Feb 15 2010 : 09:47:49 AM
(Build 1738)

When I do a Go to symbol (Alt+G), if the file isn't open it opens and the cursor is left at the beginning of the file instead of at the correct definition. If the file is open it works ok.
13   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 04 2010 : 5:43:29 PM
case=22548 is fixed in build 1829
yym Posted - Feb 21 2010 : 02:08:10 AM
I see. The truth is that with the VA context and definition fields, the code definition window isn't so necessary. I'll see if I can manage without it.
feline Posted - Feb 19 2010 : 2:43:20 PM
It turns out the Code Definition Window is triggering this problem:

case=22548

If you set the Code Definition Window to auto hide, or group it with one or more other windows, so you can hide it behind them, then the problem goes away.

This is not a perfect solution, but it might help as a workaround for now.
feline Posted - Feb 19 2010 : 2:20:45 PM
I have the files, many thanks for these:

case=39927

Once I import your IDE settings I can reproduce the alt-g problem. I am now trying to work out what the trigger is.
feline Posted - Feb 18 2010 : 10:51:10 AM
I have created the same solution here, but so far I cannot reproduce this alt-g problem.

Can you please send me the solution you are testing, along with your VA and VS2008 settings?

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem. 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.
yym Posted - Feb 17 2010 : 12:09:10 PM
I created a new empty project and added 2 files to it:

1.h:
class CzzzApp;
extern CzzzApp theApp;


1.cpp:
// 1
// 2
// 3
// 4
// 1
// 2
// 3
// 4

int z;

class CzzzApp {};

CzzzApp theApp;


If I put the cursor on theApp in 1.h (with 1.cpp closed) and press Alt+g I get to the first line of 1.cpp instead of the CzzzApp theApp; line. (Interestingly the window is scrolled down a few lines. If I add enough blank lines before CzzzApp theApp; the window doesn't scroll at all.)

The context and definition fields are fine. (Here they show extern CzzzApp theApp; rather than CzzzApp theApp;, in other cases they have always shown exactly what I expected.)

Contrary to what I said before, leaving 1.h open for a period of time doesn't seem to make any difference.
feline Posted - Feb 17 2010 : 11:01:28 AM
This almost sounds like a VA parser problem. When you find a reproducible case can you just place the caret into the symbol and look at the VA context and definition fields. These are normally at the top of the editor window.

What is shown in these fields? Are you seeing sensible information about the current symbol, or something else?

Can you try creating a new, default solution and copying the two files that reliably reproduce this problem into this new solution. The code won't compile, but can you still reproduce the problem?

I am wondering if the trigger is file specific, or if it depends on some other feature of your solution, a #include line for example.
yym Posted - Feb 17 2010 : 03:39:22 AM
It can happen quite frequently - more than 1 in 10 - but since often the window is open I don't notice it that often.
It seems to depend on where I do the goto from and where it is going to, and it's easily reproducible - once I've found a place it happens I just need to close the window where the symbol definition is and it'll happen again.

I have just found out something else - it depends how long the window I am doing the goto from has been open. If I leave it open for long enough everything works. How long is enough depends on the symbol, for one symbol a couple of seconds is enough, for another symbol I'll have to leave it open for a minute. If I close the window (and leave it closed for a while) then open it again the problem happens again.

This also explains why I don't see the problem that often, normally the window I'm working will be kept open for some time, whereas when I was checking for the problem I opened and closed windows.
feline Posted - Feb 16 2010 : 9:01:23 PM
How often can you reproduce this problem? Does it happen one time in 10? One time in 50?

I am wondering if something is interfering with VA when the file is opened for the first time. Perhaps an anti-virus program, or something else like this.
yym Posted - Feb 16 2010 : 02:01:41 AM
The problem doesn't always occur, and I only noticed it recently. I suspect there's a timing issue involved.
yym Posted - Feb 16 2010 : 01:57:33 AM
I'm using C++.
yym Posted - Feb 16 2010 : 01:53:21 AM
VS2008 SP1 on XP SP3

Add-in manager doesn't show any other add-ins.

Details from About box:

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual Basic 2008 91605-270-7719121-60328
Microsoft Visual Basic 2008

Microsoft Visual C# 2008 91605-270-7719121-60328
Microsoft Visual C# 2008

Microsoft Visual C++ 2008 91605-270-7719121-60328
Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office 91605-270-7719121-60328
Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Web Developer 2008 91605-270-7719121-60328
Microsoft Visual Web Developer 2008

Crystal Reports AAJ60-G0MSA4K-68000CF
Crystal Reports Basic for Visual Studio 2008


Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899) KB944899
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/944899.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282) KB945282
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945282.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040) KB946040
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946040.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308) KB946308
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946308.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344) KB946344
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946344.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581) KB946581
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/946581.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171) KB947171
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947171.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173) KB947173
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947173.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180) KB947180
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947180.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540) KB947540
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947540.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789) KB947789
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947789.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127) KB948127
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/948127.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB953256) KB953256
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/953256.

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB971092) KB971092
This hotfix is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/971092.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140) KB945140
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/945140.

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888) KB947888
This service pack is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947888.

Security Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB972222) KB972222
This security update is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/972222.

Security Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB973675) KB973675
This security update is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/973675.

Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB956453) KB956453
This update is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/956453.

Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB967143) KB967143
This update is for Microsoft Visual Studio 2008 Professional Edition - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/967143.

Visual Assist X
For more information about Visual Assist X, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2009 Whole Tomato Software, Inc.

Xtreme Toolkit Pro for Visual C++ .NET 13.1
Xtreme Toolkit Pro for Visual C++ .NET
Copyright -?1998-2009 Codejock Software. All rights reserved.
www.codejock.com
feline Posted - Feb 15 2010 : 1:27:54 PM
Which IDE and OS are you using?
Which programming language are you working in?

So far I cannot reproduce this problem here.

Do you have any other IDE plugin's installed?

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