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

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


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

> Hi,
> 
> Something that seems to be happening more and more in Lazarus IDE, is
> that while I debug, and set breakpoints, and run my application via the
> IDE. Instead of the IDE breaking at the breakpoint and using the exist
> (already openned unit), the IDE opens yet another unit with a number
> appended (eg: myunit(2)).

Maybe you use symlinks?
Please compare the full file names of both editor files.

 
> To make matters worse, that new duplicate unit that the IDE opened
> doesn't contain the breakpoints (at least they are not visible - no red
> dots in the gutter). So they IDE gets rather confused when you try and
> set/unset more breakpoints.
> 
> Is all this a known problem, or is it just my isolated issues with the
> IDE again? I tried to search Mantis, but as we all know Mantis (and the
> wiki's) search functionality sucks big time.


Mattias




More information about the Lazarus mailing list