Mistake on this page?
Report an issue in GitHub or email us
Functions
Debug functions

Functions

static void debug (const char *format,...)
 Output a debug message. More...
 
static void static void debug_if (int condition, const char *format,...)
 Conditionally output a debug message. More...
 

Detailed Description

Function Documentation

static void static void static void debug ( const char *  format,
  ... 
)
static

Output a debug message.

Parameters
formatprintf-style format string, followed by variables

Definition at line 44 of file mbed_debug.h.

static void debug_if ( int  condition,
const char *  format,
  ... 
)
static

Conditionally output a debug message.

NOTE: If the condition is constant false (== 0) and the compiler optimization level is greater than 0, then the whole function will be compiled away.

Parameters
conditionoutput only if condition is true (!= 0)
formatprintf-style format string, followed by variables

Definition at line 63 of file mbed_debug.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.