Click to See Complete Forum and Search --> : Delay in visual 6.0 IDE


Mike Harnad
March 30th, 1999, 09:31 AM
Has anyone else encountered the following problem:


Since installing visual C++ 6.0, editing code has become a nightmare in the IDE.

There appears to be a 3-5 second delay from the time you type a key, to the

time the IDE responds. I suspected it had something to do with the new

"intellisense" features, so, I disabled all the settings in the editor tab.

That didn't work. Then, someone stated it might be due to the .ncb (no compile

browser) file. So, I deleted that. It appears to help, but, only for a short

time, since the .ncb file is recreated by the IDE.


One last note: the project I'm dealing with has about 600 source files.


If you've encountered this problem, AND, resolved it, I'd greatly appreciate

a response from you.


TIA,

Mike

mtnkodiak
April 6th, 1999, 11:08 AM
Hi- I had the problem you described, and thought it was caused by a 3rd party addon that I use (Visual Assist, recommended). It was not, though.

It turned out that only certain source files caused the delay. We have 7 projects linked w/ dependencies, with well over 600 files total. Some files caused a LONG delay; one was making me wait 8 seconds everytime I stopped typing.

Here's the solution that worked for me (don't laugh). For the files that were causing the trouble:

Edit/Select All
Cut
File/Save
Paste
File/Save

That's it. Apparently there was a database somewhere that was messed up, and by clearing the file out and forcing it to re-parse, it cleared up the problem. I had about 10 files that were affected, and after doing this to each one, the problem is gone.

Hope this helps in some way.

--mtnkodiak