debug_util.h File Reference

#include <signal.h>
Include dependency graph for debug_util.h:
This graph shows which files directly or indirectly include this file:

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::_Charsmongo::Chars
typedef struct mongo::_Intsmongo::Ints
typedef struct mongo::_OWSmongo::OWS

Enumerations

enum  { mongo::DEBUG_BUILD = 0 }

Functions

void mongo::breakif (bool test)
void mongo::breakpoint ()
void mongo::setupSIGTRAPforGDB ()

Variables

int mongo::tlogLevel

Define Documentation

#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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:26 2013