On Fri, 2002-10-18 at 07:23, Henrik Nordstrom wrote:
> On Thursday 17 October 2002 18.59, Evgeny Kotsuba wrote:
>
> > Again, is it possible to debug well the code placed in .h ?
>
> In the debuggers I have seen yes.. only that you cannot set a
> breakpoint..
>
> > But how to catch erros etc. before main() is started ?
> > As for squid - how to do smthg before config is read ? And say, how
> > to reinit squid at runtime - should we have both static and
> > dynamic initializations ?
>
> Not to mention the uncertainity on the order of static initializers..
This is quite easily addressed. It's not pretty, but the technique can
be abstracted so it only lives in one place :].
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:57 MST