Author |
Topic |
_FKS_
Junior Member
Canada
13 Posts |
Posted - Jun 08 2005 : 11:09:58 AM
|
Hi,
Here at work, I'm quite used to work with several instances of Visual Studio 2003 open at the same time. My solutions usually contain several projects, from which a few ones are also included in the other open solutions.
The problem is that after some time (random) using and swapping among the open solutions, it seems Visual Assist starts screwing up something because all the variables appear as 'unrecognized'. Sometimes, the top bar (with the Go in it) is not usable anymore either, ie.there's nothing in the combo box no matter the file where I'm in. When closing all the open solutions and opening just one solution, Visual Assist starts working fine again.
This issue seems to be around for the last few versions, it wasn't there before. I'm using the latest 1409 build.
Alex.
|
Edited by - _FKS_ on Jun 08 2005 11:11:48 AM |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jun 10 2005 : 3:00:49 PM
|
i often have more than one copy of vs2003 open at once, and the work spaces often contain some overlapping projects, however i don't think i have ever seen what you are describing.
do you have any other plugin's installed? anything different or special about your system, e.g. localised IDE? |
zen is the art of being at one with the two'ness |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 13 2005 : 04:53:54 AM
|
The same happens to me after a while of using more than one IDE at the same time :-( You should have a look at it. Workaround (for me): Close all IDEs, delete all NCB Files, and start over again... until it happens again
All the Best Henrik
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jun 13 2005 : 3:43:59 PM
|
what sort of time scale are you looking at Henrik? i have run 2 or 3 copies of VS 2003 for a week without problems, hibernating the machine each night.
if deleting the NCB files helps then it is quite possible the problem lies in the IDE, not VA. the IDE will corrupt the NCB files on its own, even without VA installed.
the workaround i (and several others) use is to create an empty zero length file with the same name as the deleted NCB file and set this to be read only. then tell the IDE to leave this file alone when you load it.
this could be why i am not experiencing these problems with more than one instance of the IDE. |
zen is the art of being at one with the two'ness |
|
|
_FKS_
Junior Member
Canada
13 Posts |
Posted - Jun 14 2005 : 5:28:54 PM
|
Well as for the installed plugins, I have Incredibuild 2.12 installed, but it's there for a while and as I said, the previous versions of VAX didn't use to produce the bug. There's nothing else specific to my system, I'm running WinXP English, no other localization, along with VS.NET 2003.
The time before the problems start occuring is of order of several minutes. |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 15 2005 : 02:35:29 AM
|
I have tried to work wih read only 0-byte NCB files, but the effect is the same. The problem exists with build 1301, too.
Any further ideas?
Henrik
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jun 15 2005 : 3:23:11 PM
|
can either of you try this on a new project generated by the IDE? i am working on the theory this is somehow project specific, but i may be wrong.
with two people seeing the same thing it should be possible to reproduce, if we can just work out the set of conditions that are triggering this. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jun 15 2005 : 8:17:10 PM
|
We rewrote our locking code in build 1413. We suspect build 1413 is much better for you, at least in this regard. |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 22 2005 : 11:24:23 AM
|
Even with 1416: Nothing helps... As soon as a second instance of Visual Studio 2003 (english) is running - the syntax highliting breaks in one(!) of them.
Please fix this - otherwise I cannot use my registered version anymore :-(
Henrik
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jun 22 2005 : 2:58:24 PM
|
Henrik do you have any other plugin's installed? does this happen on all projects, or only on some? i am searching for any clues to help me reproduce this problem.
can you please start the first instance of Visual Studio and enable logging on the Performance tab of the VA X options dialog. Load the workspace. Start the other instance and recreate the problem. Close all instances.
You will have two files C:\\va.log and ...\\Visual Assist X\\Startup.log
Please zip and send these files to [email protected] referencing this thread in the email will help. |
zen is the art of being at one with the two'ness |
Edited by - feline on Jun 22 2005 3:01:03 PM |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 23 2005 : 04:31:37 AM
|
You have mail
Henrik |
|
|
barrettg
New Member
5 Posts |
Posted - Jun 23 2005 : 3:41:35 PM
|
I'm not sure if this problem was resolved, but I experience similar problems when I use multiple copies of VS 2003 for long peroids of time.. It fails to recognize any new variables, and underlines about 1/2 of my code in red. I have this problem at least once a day. |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 24 2005 : 08:23:27 AM
|
Yes, you are right. We all talk about the same issue. Hope, they find the problem. Since I work in the security industry I suspect the code that checks if a single user license is used more than once.... probably there's an error here? But, that's just an idea...
Henrik |
|
|
support
Whole Tomato Software
5566 Posts |
|
Henrik
Senior Member
30 Posts |
Posted - Jun 25 2005 : 06:04:16 AM
|
It does not fix the problem.
Henrik |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 25 2005 : 06:11:39 AM
|
Here my way to reproduce this issue at any given time:
Start 2 instances vof VS 2003, say A and B Load Project 1 in A Load Project 2 in B
-> Project 1 even forgets about CString and alike... all coloured black und underlined red.. -> Project 2 is fine....
Henrik
|
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Jun 25 2005 : 12:51:51 PM
|
Try this:
close all instances of vs start 1 instance of vs load a solution wait until the process stops using CPU exit the instance when the process has exited open 2 instances load project 1 in A load project 2 in B
Does it work correctly now?
|
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Jun 25 2005 : 12:55:09 PM
|
An important step needed to reproduce this problem is that the symbol database should not exist (or needs to be rebuilt at the next startup) before launching the 2 instances of VS. |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 25 2005 : 2:08:07 PM
|
No the behaviour is a little different:
now in both solutions e.g. the keywords are no longer known:
DWORD, NULL, LANGID, PBYTE, strlen and even #ifndef is underlined in red...
Funny thing is that in a table of LangIDs only LANG_ENGLISH, LANG_GERMAN are known and coloured gray, and all others, e.g. LANG_FRENCH are not...
So, the behaviour is different then, but even worse ;-)
Please provide access to the older versions! I know this behaviour is quite new, and I want to go back to an older version. It seems I cannot download older builds anymore, right?
Henrik
|
|
|
sean
Whole Tomato Software
USA
2817 Posts |
|
Henrik
Senior Member
30 Posts |
Posted - Jun 25 2005 : 2:26:50 PM
|
I have found some older versions on my backup drive - even 1246 shows this strange behaviour on my system - a Athlon FX-55 System, 2GB Ram, Windows XP SP 2 with all updates applied. It might be a problem with my configuration?! What can I do?
Henrik |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 25 2005 : 2:32:43 PM
|
OH MY GOODNESS!
I HAVE IT
IT IS NORTON AV CORP. V10.0 THAT WE HAVE TO USE HERE!!
If I disable the on demand checking - we are fine :-)
So VAX is a little incompatible with Nortons AV 10.0.0.359 Coporate.
That's all... I think now you should be able to reproduce it :-)
Henrik |
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Jun 25 2005 : 6:53:15 PM
|
My Version is 10.0.1.13 and I've not yet seen this behaviour... I'm not using the Corp edition, maybe that explains the version difference... |
|
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jun 26 2005 : 10:23:34 AM
|
Wannabe: Do you have "on demand checking" enabled? (Per another thread, the option might be called, "Enable Auto-Protect.")
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=3755
We wonder if the problem exists in the "home" edition or just the corp edition? |
Edited by - support on Jun 26 2005 12:35:18 PM |
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Jun 26 2005 : 5:17:27 PM
|
Yup, "Enable Auto-Protect" is enabled (by default, this checks every opened/copied/moved file for Viruses).
I doubt anybody would like to disable it . We might check if the problem goes away when you temporarily disable it. |
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jun 27 2005 : 2:31:51 PM
|
Henrik has already confirmed that disabling this fixes the problem on his machine, see his post at the top of this page |
zen is the art of being at one with the two'ness |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Jun 27 2005 : 4:38:22 PM
|
Henrik, Could you please try excluding the visual assist\\vc7 directory from Auto-Protect? In previous versions of Symantec AV Corp, there has been the option to "exclude selected files and folders" - enable the exclude option and add the Visual Assist\\vc7 directory to the exclude list. Please let us know if that makes any difference.
|
|
|
barrettg
New Member
5 Posts |
Posted - Jun 28 2005 : 3:15:11 PM
|
I posted earlier that I was having this problem also. I also use Symantec AV Corp Edition V10. I have not got a chance to test the exclude directory fix, but I will give it a try and post my results. |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 29 2005 : 12:43:58 PM
|
Sorry, I can't. I have managed to make our IT-Support Team to switch my system to McAfee. They will not change it back again - no way... :-(
There must be other guys with the same problem - maybe they can test it?
Henrik |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jun 29 2005 : 2:27:53 PM
|
hopefully barrettg will be able to try this and let us know what happens. for now at least you have a helpful IT team and a fix well, i presume this has fixed it, hasn't it? |
zen is the art of being at one with the two'ness |
|
|
Henrik
Senior Member
30 Posts |
Posted - Jun 29 2005 : 4:53:44 PM
|
Yes :-)
There are two ways to fix it: Disable the On Access Scanner of Norton 10 Corp Ed, or use another anti-virus software. At least my currently installed McAfee Corp V8.0 works fine...
Good Luck Henrik |
|
|
Topic |
|