[Lazarus] When debugging, it open multiple copies of the same file

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 6 12:40:54 CEST 2011


On Mon, 06 Jun 2011 12:31:15 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> On 06/06/2011 12:10, Mattias Gaertner wrote:
> > 
> > Maybe you use symlinks?
> 
> Ah, I do have some directory symlinks - never file symlinks though.
> eg:
> 
>   $HOME/prog/3rdParty/onguard/        ->   /opt/git/onguard.git/
>   $HOME/prog/3rdParty/tiOPF2/Source/  ->   /opt/git/tiopf_svn.git/
> 
> 
> I always reference the files inside the 3rdParty/* directories, never
> the symlink target location (/opt/git/*). So I guess Lazarus IDE doesn't
> work too well with symlink'd directories then. I guess I can shuffle my
> directories around and see if that solves the problem. Thanks for the hint.

Lazarus is mostly symlink agnostic. For example /A/unit1.pas
and /B/unit1.pas are different files, even though they may be the same
through symlinks. This is needed, because all search paths are relative.

 
> > Please compare the full file names of both editor files.
> 
> OK, I'll double check that too.


Mattias




More information about the Lazarus mailing list