[Lazarus] Lazarus ignores my breakpoints

Marc Weustink marc.weustink at cuperus.nl
Tue May 5 14:28:04 CEST 2009


Graeme Geldenhuys wrote:
> On Tue, May 5, 2009 at 1:33 PM, Martin Friebe <lazarus at mfriebe.de> wrote:
>> While it is not the answer to your question, I had a similar issue and
>> found, that breakpoints only worked, if they here set *before* I started
>> the application to debug. (This was on FreeBSD)
> 
> This is what I have done. Set the breakpoints, then run the
> application through the IDE. The IDE then outputs to the debug xterm
> console.

You cannot debug console apps with lazarus. If you use an xterm as 
launching to see your console output, then gdb will debug the xterm and 
not your app. There is some patch to have a separate console, but I 
haven't reseached it yet.

Marc




More information about the Lazarus mailing list