lwip-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-members] new debugging features in CVS


From: Leon Woestenberg
Subject: Re: [lwip-members] new debugging features in CVS
Date: Fri, 21 Feb 2003 09:50:18 +0100

Hello Jani,
> But does this mean lwipopts.h must define every modules' debug flag?
> Can't the behaviour of old debug.h includes lwipopts.h be preserved
> where debug.h defines every previously undefined (in lwipopts) macro.
>
Yes, that would be perfect.

The problem is that lwipopts.h now depends on debug.h (for the debug flags)
and not vice versa.

Fixing this would mean debug.h including lwipopts.h only after the debug
types
have been defined.

Of course, any other nicer approach would be more welcome.

As a sidenote, before the new finer grained debug scheme starts to pay,
additional debug type flag and level must be given to DEBUGF statements.
For example DEBUGF(UDP_DEBUG | DBG_TRACE | 2, "some flow following debug
statement of 2");

Leon.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]