[lazarus] Great

Marc Weustink weus at quicknet.nl
Tue May 9 20:31:04 EDT 2000


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