Author |
Topic |
|
Tut
New Member
France
4 Posts |
Posted - Sep 06 2004 : 09:19:46 AM
|
Hi, I'm currently trying Visual Assist X on NT 4.0 with Visual 6.0 on a 2 GHz and 1 Go RAM machine. It works fine, and I feel it very useful. But, when I'm typing code and use the intellisense, it takes sometimes 2 or 3 seconds to display the dynamic list, especially for the MFC class. Why ? is this problem known ? If I solve this problem, I will ask my company to purchase Visual Assist. Except this problem, Visual Assist is great.
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Sep 07 2004 : 12:04:22 AM
|
Try disabling the statement completion options in Tools|Options|Editor.
You disable default Intellisense when you do this. It's sometimes slow. |
|
|
Tut
New Member
France
4 Posts |
Posted - Sep 07 2004 : 03:17:39 AM
|
it is already disabled. |
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Sep 07 2004 : 09:47:39 AM
|
Try deleting your NCB file? |
|
|
chas
Junior Member
17 Posts |
Posted - Sep 07 2004 : 12:04:44 PM
|
we actually have a 0-byte ncb file checked into source control. It's a nice way of getting it to read-only on everyone's machine. The usefulness of VS not snowblinding at "Foo::" outweighs the perpetual "would you like to make this writable?" startup dialog.
chas |
|
|
Old as dirt
Tomato Guru
USA
246 Posts |
Posted - Sep 07 2004 : 3:22:18 PM
|
What is the .ncb file for That is, what do you lose by making it 0 bytes and read only? What do you gain? Thanks, |
Ken |
|
|
ivan
Ketchup Master
Russia
75 Posts |
Posted - Sep 07 2004 : 4:18:59 PM
|
The .ncb file holds information for ClassView, IntelliSense, and the WizardBar. So what you lose is these 3 features and what you gain is performance (IntelliSense can be quite slow if it needs to process a lot of header files, especially on a slow/fragmented hdd).
There's a KB article KB236399 in MSDN "How To Troubleshoot Visual C++ Performance Problems". They say it applies to VC++ 5/6 but I think many parts of it are still valid for VS.net. |
|
|
Tut
New Member
France
4 Posts |
Posted - Sep 08 2004 : 10:15:30 AM
|
I've got no problem with Visual C++ 6.0 intellisence. The problem occurs only when Visual Assist is enable.
|
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Sep 08 2004 : 11:35:26 AM
|
quote: Originally posted by Tut
I've got no problem with Visual C++ 6.0 intellisence. The problem occurs only when Visual Assist is enable.
Yes, but the NCB gets hosed on a regular basis, and deleting it can correct what seem to be bugs in VAX. Just delete it, and see if that speeds up VAX... the IDE will rebuild it, don't worry...
|
|
|
xMRi
Tomato Guru
Germany
315 Posts |
Posted - Sep 10 2004 : 02:28:38 AM
|
to Chas: You placed the ncb file into source control. Don't do this! MS recommends not to include this file into source control, it is a local temporal file. Read the following MSDN articles 181719 and 156513. I do not see any advantages except problems. |
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming |
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Sep 10 2004 : 08:38:06 AM
|
quote: Originally posted by MartinRichter
to Chas: You placed the ncb file into source control. Don't do this! MS recommends not to include this file into source control, it is a local temporal file. Read the following MSDN articles 181719 and 156513. I do not see any advantages except problems.
Huh?!?
He's putting a zero-byte NCB file in source control, not a real one. Yes, putting a real one in source control is wrong; but putting a zero-byte one in is fine...
|
|
|
Tut
New Member
France
4 Posts |
Posted - Sep 11 2004 : 1:05:15 PM
|
I tried to delete the *.ncb file, then reload Visual. It didn't change anything : Visual Assist still takes about 2 or 3 seconds to navigate from an item to another trough the intellisence dynamic list. It's very upsetting while coding. |
|
|
ivan
Ketchup Master
Russia
75 Posts |
Posted - Sep 11 2004 : 1:30:26 PM
|
Is there a lot of HDD activity happening during the delay before the listbox is displayed?
Also, in your first post you said it takes intellisense 2-3 seconds to *display* the listbox, in the last one you mentioned 2-3 second delays when you *navigate* the (already displayed) list. So when exactly does it happen? |
|
|
|
Topic |
|