>> When editting my project it keeps going off to never-never land, the
>> hard drive thrashes away kind of like it's flushing the cache to disk or
>> something, these little "episodes" are typically about 10-20 seconds
long,
>> which seems forever when your clients are screaming for the latest form
to
>> be finished, its 2.44 AM etc etc.

10-20 is a long time for this 'normal' D4 activity.

>> There doesn't seem to be any pattern to it, although quite often after
>> exiting an F9 debug then the first keypress back in a Delphi edit window
>> triggers it.
>> Does anyone know where it goes and why?, how do I stop it?, I've been
>> blaming Bill Gates but maybe it's a setting in Delphi, any help would be
>> much appreciated

I'm afraid this one ain't Bill... D4 has a feature called 'Code Insight'
which
(when the mouse hovers over a statement) informs you, via a hint box, where
the declaration for that piece of code is.  It also informs you of method
parameters just after you've typed a '('...  This information gets gathered
from the
files referenced by your uses clauses in the unit.  If an index for the
referenced
files hasn't been built then it runs off and makes one... 10-20 seconds is a
long
time though... The time it takes to find the referenced files is dependant
on the
Path setting in Delphi (Tools->EnvironmentOptions/Library).  I'm not sure
whether
it's the 'Library Path' or the 'Browsing Path'.  Make sure that the paths
searched
are in order of importance and not too many of them.  The Delphi libs should
be
first since most of a project is reading those files, then your own libs
folder
for inter-project shared code.  The project options can customise this path
for
each project but the default is copied from the environment options.

>     Its to do with your path to Delphi. Maybe you have an older path to an
> older version which is conflicting. I cant remember exactly, but I had the
> same problem. Try moving the path to your current Delphi directory near
the
> front of ur Autoexec.bat file and that should sort it.

I don't think it uses the Dos Environment Path does it?

--
Aaron@home


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to