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
 Visual Assist X is slow ?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Tut
New Member

France
4 Posts

Posted - Sep 06 2004 :  09:19:46 AM  Show Profile
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  Show Profile
Try disabling the statement completion options in Tools|Options|Editor.

You disable default Intellisense when you do this. It's sometimes slow.
Go to Top of Page

Tut
New Member

France
4 Posts

Posted - Sep 07 2004 :  03:17:39 AM  Show Profile
it is already disabled.
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Sep 07 2004 :  09:47:39 AM  Show Profile
Try deleting your NCB file?
Go to Top of Page

chas
Junior Member

17 Posts

Posted - Sep 07 2004 :  12:04:44 PM  Show Profile
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
Go to Top of Page

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Sep 07 2004 :  3:22:18 PM  Show Profile
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
Go to Top of Page

ivan
Ketchup Master

Russia
75 Posts

Posted - Sep 07 2004 :  4:18:59 PM  Show Profile
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.
Go to Top of Page

Tut
New Member

France
4 Posts

Posted - Sep 08 2004 :  10:15:30 AM  Show Profile
I've got no problem with Visual C++ 6.0 intellisence. The problem occurs only when Visual Assist is enable.
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Sep 08 2004 :  11:35:26 AM  Show Profile
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...
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Sep 10 2004 :  02:28:38 AM  Show Profile
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
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Sep 10 2004 :  08:38:06 AM  Show Profile
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...
Go to Top of Page

Tut
New Member

France
4 Posts

Posted - Sep 11 2004 :  1:05:15 PM  Show Profile
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.
Go to Top of Page

ivan
Ketchup Master

Russia
75 Posts

Posted - Sep 11 2004 :  1:30:26 PM  Show Profile
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?
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