Go to the source code of this file.
|
#define | DEBUG_COND_WITH_NAME_N(DBG_NAME, VERBOSE) false |
|
#define | DEBUG_WITH_NAME_N(DBG_NAME, VERBOSE, STMT) do { } while(0) |
|
#define | DEBUG_COND_WITH_NAME(DBG_NAME) DEBUG_COND_WITH_NAME_N(DBG_NAME,0) |
|
#define | DEBUG_COND_N(VERBOSE) DEBUG_COND_WITH_NAME_N(DEBUG_NAME,VERBOSE) |
|
#define | DEBUG_COND DEBUG_COND_N(0) |
|
#define | DEBUG_WITH_NAME(DBG_NAME, STMT) DEBUG_WITH_NAME_N(DBG_NAME,0, STMT) |
|
#define | DEBUG_N(VERBOSE, STMT) DEBUG_WITH_NAME_N(DEBUG_NAME,VERBOSE, STMT) |
|
#define | DEBUG(STMT) DEBUG_N(0, STMT) |
| Execute debug statements in your current module. More...
|
|
#define | DEBUG1(STMT) DEBUG_N(1, STMT) |
|
#define | DEBUG2(STMT) DEBUG_N(2, STMT) |
|
#define | DEBUG3(STMT) DEBUG_N(3, STMT) |
|
#define DEBUG |
( |
|
STMT | ) |
DEBUG_N(0, STMT) |
Execute debug statements in your current module.
To use this macro you must define the macro DEBUG_NAME to the name of your current module (should be a string literal. Never do this in a header (but if you do this, undef DEBUG_NAME at the end of the header)!
Definition at line 125 of file Debug.hpp.
#define DEBUG1 |
( |
|
STMT | ) |
DEBUG_N(1, STMT) |
#define DEBUG2 |
( |
|
STMT | ) |
DEBUG_N(2, STMT) |
#define DEBUG3 |
( |
|
STMT | ) |
DEBUG_N(3, STMT) |
#define DEBUG_COND_WITH_NAME_N |
( |
|
DBG_NAME, |
|
|
|
VERBOSE |
|
) |
| false |
#define DEBUG_WITH_NAME_N |
( |
|
DBG_NAME, |
|
|
|
VERBOSE, |
|
|
|
STMT |
|
) |
| do { } while(0) |