[fpc-devel] Lazarus keeps it's secrets

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 3 10:21:13 CET 2010


On Wed, 03 Mar 2010 09:40:53 +0100
Michael Schnell <mschnell at lumino.de> wrote:

> On 03/01/2010 07:29 PM, Mattias Gaertner wrote:
> > Have you set the target OS in the compiler options to linux?
> >   
> 
> I just did a normal installation and the program I compile does work.

Then you see the linux implementation of PostMessage, not the windows
one.


> So
> I can't imagine that the compiler options are wrong. Seemingly the IDE
> sees some of these options wrong. Can there be diverging settings of
> such options ?
> 
> Another question regarding debugging the lcl and rtl code. With
> ctrl-click I can (in most cases :) ) reach the body called by a function
> call.
> 
> With most of these functions (LCL code ?) I can also step into with F7
> and/or set a breakpoint. With other code (FPC RTL ?) F7 steps over the
> call and setting a breakpoint in the function body does not work. How
> can I make GDB see these source code files ?

Install a RTL with debugging info.

Mattias



More information about the fpc-devel mailing list