On Thu, 06 Dec 2007 14:31:38 +0300
Andrey Gusev <[EMAIL PROTECTED]> wrote:

> * Paul Ishenin <[EMAIL PROTECTED]> [Tue, 04 Dec 2007 22:48:09 +0700]:
> > Andrey Gusev wrote:
> > > Have some enrichment of debug output in finddeclarationtool.pas, i
> > > don't see results in --debug-log file
> >
> > If you are on windows, just add "{$apptype console}" to
> > lazarus\ide\include\ide.inc and you'll have second ide window with
> > console. There you'll see all output and your debugln too.
> 
> Thanks, that is just what need.
> 
> =====================================================
> 
> Investigation in progress...
> But, maybe have some ideas about this:
> ---
> [...]
> \lazarus-snap\lcl;C:\Works-FPC\lazarus-snap\lcl\widgetset;C:\Works-FPC\lazarus-s
> nap\lcl\interfaces\win32;C:\Works-FPC\lazarus-snap\packager\registration
> TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
> CurPath="C:\Works-FContr\Contracts\Apps"
> 111
> TCTDirectoryCache.FindUnitSource UnitName="WorkrXtr" AnyCase=True 
> Directory=C:\Works-FContr\Contracts\Apps\
> TCTDirectoryCache.UpdateListing
> Listing:timestamp=2
> 333
> TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
> CurPath="C:\Works-FContr\Contracts\Apps\Mods"
> 111
> TCTDirectoryCache.FindUnitSource UnitName="WorkrXtr" AnyCase=True 
> Directory=C:\Works-FContr\Contracts\Apps\Mods\
> TCTDirectoryCache.UpdateListing
> Listing:timestamp=2
> Listing is empty <<<<<<<< AG: that's wrong, listing of 
> C:\Works-FContr\Contracts\Apps\Mods\ cannot be an empty,
>                         <<<<<<<<     there enough many units,
> WorkrXtr including
> TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
> CurPath="C:\Works-FContr\Contracts\gen"
> [...]
> ---
> 
> Somewhat wrong in depth of directorycacher.pas, pool/timestamp
> mechanics or whatever...
> ?

Can you add more debugln, to see if TCTDirectoryCache.UpdateListing
finds all the files in the directory?

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to