lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Stability of master branch code


From: Robert Deschambault
Subject: Re: [lwip-users] Stability of master branch code
Date: Wed, 6 May 2015 12:50:27 -0400

Ok, the code is no longer responsive, but I don't have a way to check the lwip_stats counters because I can't stop the program.  I have breakpoints on the MEM_STATS_INC(err); and MEMP_STATS_INC(err, type); but the software isn't going there.  Where would be a good place to put a breakpoint so I can observe the stats?

On Tue, May 5, 2015 at 2:19 PM, address@hidden <address@hidden> wrote:
Robert Deschambault wrote:
I have enabled LWIP_STATS and LWIP_STATS_DISPLAY. Should I enable things like PBUF_DEBUG?  Will I see any messages on my debug printf display?  Or should I put a breakpoint where lwip stats error number gets incremented?

As a start, I would not change anything but enable LWIP_STATS to prevent changing runtime behaviour. Then you can check the stats counters from the debugger once it hangs.

Only if you really find there are errors reported in the stats it would make sense to dig further in that direction as it could well be that changing the runtime behaviour could cover your problem.



Simon

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



--
Bob Deschambault

reply via email to

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