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

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jun 6 12:02:06 CEST 2011


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)).

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.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list