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, [email protected] <[email protected]> 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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 
Bob Deschambault
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to