[Lazarus] Self-set breakpoint on a procedure?

Pedro Restrepo restrepopj at gmail.com
Wed May 8 20:29:21 CEST 2019


Thank you very much Martin. Yes, there was a breakpoint in the interface
section. I found it with the breakpoint window. Probably was the result of
an accidental key stroke. I removed it and the issue is gone.

Best regards,

Pedro

On Wed, May 8, 2019 at 1:17 PM Martin Frb via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> On 08/05/2019 19:33, Pedro Restrepo via lazarus wrote:
> > I have been using Lazarus IDE v2.0.0 r60307 with fpc 3.0.4  on a 64bit
> > Windows 10 machine without major issues. However, the debugger
> > inserted a breakpoint on the first procedure in the Implementation
> > section. There are no breakpoints in the procedure. In fact, I wrote a
> > dummy procedure without any body, just the begin and end statements
> > besides the procedure name, and call it during the form activation.
> >
> > Is there any way to clear that breakpoint? If I remove that procedure,
> > the debugger will stop at the procedure that becomes the first one
> > after the removal of the dummy procedure.
> >
>
> You may have a breakpoint in the interface section.
>
> A breakpoint on a none code line, acts on the next code line found.
> A breakpoint in the interface section (none code), acts where?
>
> This is helpful, if the breakpoint is on an empty line, just ONE line
> above the code. But not helpful if it is 100 lines above....
> It is a gdb "feature", and as of yet we have no workaround.
>
> You can also use the breakpoint window to find breakpoints...
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190508/8f281d08/attachment.html>


More information about the lazarus mailing list