Configuring the Debug Option - Configuring the Debug Option - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

lwIP provides debug information. The following table lists all the available options.

Table 1. Configuring the Debug Option
Attribute Default Type Description
lwip_debug false Boolean Turn on/off lwIP debugging.
ip_debug false Boolean Turn on/off IP layer debugging.
tcp_debug false Boolean Turn on/off TCP layer debugging.
udp_debug false Boolean Turn on/off UDP layer debugging.
icmp_debug false Boolean Turn on/off ICMP protocol debugging.
igmp_debug false Boolean Turn on/off IGMP protocol debugging.
netif_debug false Boolean Turn on/off network interface layer debugging.
sys_debug false Boolean Turn on/off sys arch layer debugging.
pbuf_debug false Boolean Turn on/off pbuf layer debugging
dhcp_debug false Boolean Turn on/off DHCP debugging
acd_debug false Boolean Turn on/off ACD debugging
Note: To display relevant debug messages, lwip_debug must be enabled before any other debug flags.