#include <signal.h>
Go to the source code of this file.
Classes | |
struct | mongo::_Chars |
struct | mongo::_Ints |
struct | mongo::_OWS |
Namespaces | |
namespace | mongo |
Defines | |
#define | DEBUGGING MONGO_DEBUGGING |
#define | DEV MONGO_DEV |
#define | MONGO_DEBUGGING if( 0 ) |
#define | MONGO_DEV if( DEBUG_BUILD ) |
#define | MONGO_OCCASIONALLY SOMETIMES( occasionally, 16 ) |
#define | MONGO_ONCE for( static bool undone = true; undone; undone = false ) |
#define | MONGO_RARELY SOMETIMES( rarely, 128 ) |
#define | MONGO_SOMETIMES(occasion, howOften) for( static unsigned occasion = 0; ++occasion % howOften == 0; ) |
#define | OCCASIONALLY MONGO_OCCASIONALLY |
#define | ONCE MONGO_ONCE |
#define | RARELY MONGO_RARELY |
#define | SOMETIMES MONGO_SOMETIMES |
Typedefs | |
typedef char | mongo::CHARS [400] |
typedef struct mongo::_Chars * | mongo::Chars |
typedef struct mongo::_Ints * | mongo::Ints |
typedef struct mongo::_OWS * | mongo::OWS |
Enumerations | |
enum | { mongo::DEBUG_BUILD = 0 } |
Functions | |
void | mongo::breakif (bool test) |
void | mongo::breakpoint () |
void | mongo::setupSIGTRAPforGDB () |
Variables | |
int | mongo::tlogLevel |
#define DEBUGGING MONGO_DEBUGGING |
Definition at line 52 of file debug_util.h.
#define DEV MONGO_DEV |
Definition at line 49 of file debug_util.h.
#define MONGO_DEBUGGING if( 0 ) |
Definition at line 51 of file debug_util.h.
#define MONGO_DEV if( DEBUG_BUILD ) |
Definition at line 48 of file debug_util.h.
#define MONGO_OCCASIONALLY SOMETIMES( occasionally, 16 ) |
Definition at line 59 of file debug_util.h.
#define MONGO_ONCE for( static bool undone = true; undone; undone = false ) |
Definition at line 65 of file debug_util.h.
#define MONGO_RARELY SOMETIMES( rarely, 128 ) |
Definition at line 62 of file debug_util.h.
#define MONGO_SOMETIMES | ( | occasion, | |||
howOften | ) | for( static unsigned occasion = 0; ++occasion % howOften == 0; ) |
Definition at line 56 of file debug_util.h.
#define OCCASIONALLY MONGO_OCCASIONALLY |
Definition at line 60 of file debug_util.h.
#define ONCE MONGO_ONCE |
Definition at line 66 of file debug_util.h.
#define RARELY MONGO_RARELY |
Definition at line 63 of file debug_util.h.
#define SOMETIMES MONGO_SOMETIMES |
Definition at line 57 of file debug_util.h.