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.
finddeclarationtool.pas.diff
Description: Binary data
