[Lazarus] invisible break points??

José Mejuto joshyfun at gmail.com
Fri Jan 7 12:24:15 CET 2011


Hello Lazarus-List,

Friday, January 7, 2011, 7:54:17 AM, you wrote:

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

In my case the reason is that the code where the real breakpoint is
located has been removed by the linker (non called code) so gdb sets
the breakpoint in the next valid source code line, while editor keeps
the original line for the breakpoint position.

-- 
Best regards,
 José





More information about the Lazarus mailing list