[Lazarus] invisible break points??

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Jan 7 07:54:17 CET 2011


Op 2011-01-06 22:51, David Emerson het geskryf:
> Has anyone else seen anything like this?

Yes I have. I have noticed something like that too... when my apps run via
the IDE (which I hardly ever do anymore) they break for no reason.

I have looked into it (at the time), and it seems that if you set a
breakpoint in the IDE and save the project. Then modify your code so the
line at which the breakpoint was, is not source code any more (eg: a blank
line or a comment), the app still breaks at a point close to the original
breakpoint, but the IDE doesn't show it as a breakpoint (no red dot, and
not breakpoint listing in the breakpoints window).

I had to delete the breakpoint entry in the XML stored in that projects
info file manually to resolve the problem. As I said, this was with Lazarus
dated 2010-11-09. I haven't tried to reproduce with a newer version yet.



Regards,
  - Graeme -

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





More information about the Lazarus mailing list