RetroArch
Macros
debug.h File Reference
#include "arch/cc.h"
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DBG_LEVEL_OFF   0
 
#define DBG_LEVEL_WARNING   1 /* bad checksums, dropped packets, ... */
 
#define DBG_LEVEL_SERIOUS   2 /* memory allocation failures, ... */
 
#define DBG_LEVEL_SEVERE   3 /* */
 
#define DBG_MASK_LEVEL   3
 
#define DBG_ON   0x80U
 
#define DBG_OFF   0x00U
 
#define DBG_TRACE   0x40U
 
#define DBG_STATE   0x20U
 
#define DBG_FRESH   0x10U
 
#define DBG_HALT   0x08U
 
#define LWIP_ASSERT(x, y)
 
#define LWIP_DEBUGF(debug, x)
 
#define LWIP_ERROR(x)
 

Macro Definition Documentation

◆ DBG_FRESH

#define DBG_FRESH   0x10U

flag for LWIP_DEBUGF indicating newly added code, not thoroughly tested yet

◆ DBG_HALT

#define DBG_HALT   0x08U

flag for LWIP_DEBUGF to halt after printing this debug message

◆ DBG_LEVEL_OFF

#define DBG_LEVEL_OFF   0

lower two bits indicate debug level

  • 0 off
  • 1 warning
  • 2 serious
  • 3 severe

◆ DBG_LEVEL_SERIOUS

#define DBG_LEVEL_SERIOUS   2 /* memory allocation failures, ... */

◆ DBG_LEVEL_SEVERE

#define DBG_LEVEL_SEVERE   3 /* */

◆ DBG_LEVEL_WARNING

#define DBG_LEVEL_WARNING   1 /* bad checksums, dropped packets, ... */

◆ DBG_MASK_LEVEL

#define DBG_MASK_LEVEL   3

◆ DBG_OFF

#define DBG_OFF   0x00U

flag for LWIP_DEBUGF to disable that debug message

◆ DBG_ON

#define DBG_ON   0x80U

flag for LWIP_DEBUGF to enable that debug message

◆ DBG_STATE

#define DBG_STATE   0x20U

flag for LWIP_DEBUGF indicating a state debug message (to follow module states)

◆ DBG_TRACE

#define DBG_TRACE   0x40U

flag for LWIP_DEBUGF indicating a tracing message (to follow program flow)

◆ LWIP_ASSERT

#define LWIP_ASSERT (   x,
  y 
)

◆ LWIP_DEBUGF

#define LWIP_DEBUGF (   debug,
  x 
)

◆ LWIP_ERROR

#define LWIP_ERROR (   x)