* Mattias Gaertner <[EMAIL PROTECTED]> [Tue, 4 Dec 2007 14:00:33 +0100]:
On Tue, 04 Dec 2007 15:38:10 +0300

It starts in function TFindDeclarationTool.FindUnitSource and calls
DirectoryCache.FindUnitSourceInCompletePath.
If you do not use the 'in' modifier then a normal search takes place.
TCTDirectoryCache.FindUnitSourceInCompletePath fetches the
CompleteSrcPath from the CodetoolBoss, which is the value you can see
in IDE's unitinfo.
Then it searches the unit with
TCTDirectoryCache.FindUnitSourceInCleanSearchPath.

You can try adding some debugln, to see where it goes wrong.

Have some enrichment of debug output in finddeclarationtool.pas, i don't see results in --debug-log file. Whereas gdb tracked shows that my DebugLn()s have called. Have DebugLn()'s out whatever additional controls (besides --debug-log parameter) ?
With cleaning-recompiling all correctly, it checked.

Attachment: finddeclarationtool.pas.diff
Description: Binary data

Reply via email to