[lazarus] Great

Curtis White cwhite at aracnet.com
Wed May 10 00:20:34 EDT 2000


Did you remember to do the following?

make lazarus OPT=-dTrace

I just did this and it worked. I get the assert messages.


Curtis


Marc Weustink wrote:

> At 20:26 09-05-2000 -0400, Michael A. Hess wrote:
> >Marc Weustink wrote:
> > >
> > > Besides that, it seems that I can't trace gtkobject.inc (or do you set
> > > the asserrts on on a file base and not unit ?)
> >
> >If you turn Assertions On it should be on for the whole unit even those
> >files that are included. Make sure that the .pp file that uses gtkobject
> >actually as the code at the beginning to honor the TRACE compiler
> >definition. You can trace any small portion of code by just surrounding
> >it in ASSERTIONS ON | ASSERTIONS OFF.
>
> Thats included by gtkint.pp and this unit starts with:
>
> {$ifdef Trace}
> {$ASSERTIONS ON}
> {$endif}
>
> So I cant see why it didn't work for me
>
> Marc
>






More information about the Lazarus mailing list