[lazarus] Better proposition for debug code.

Peter Vreman pfvreman at wins.uva.nl
Wed Jul 21 10:52:59 EDT 1999


> > The exception will not be fired if you override the asserterrorproc;
> > sysutils sets its value to an internal procedure.
> > 
> > If you set its value, your procedure will be called, and no exception
> > is raised.
> 
> 
> OK cool! I think we should opt for this method then. Hey Cliff since
> this is really changing how TDebug is currently designed how about if I
> make all the modifications to the udebug unit so that it will work with
> Assertions. When that is done I'll commit it to CVS and then we can
> start adding it to the code.
You only need a debug unit which sets the assertproc. And it only needs to
be included once instead of every unit.

Peter







More information about the Lazarus mailing list