debug.cpp File Reference

#include "incls/_precompiled.incl"
#include "incls/_debug.cpp.incl"

Include dependency graph for debug.cpp:

Go to the source code of this file.

Classes

struct  boolFlag
struct  intFlag

Defines

#define MATERIALIZE_BOOLEAN_FLAG(name, value, doc)   bool name = value;
#define MATERIALIZE_INTEGER_FLAG(name, value, doc)   int name = value;
#define MATERIALIZE_BOOLEAN_FLAG_STRUCT_FOR_DEVELOP(name, value, doc)   { XSTR(name), &name, value, doc },
#define MATERIALIZE_BOOLEAN_FLAG_STRUCT_FOR_PRODUCT(name, value, doc)   { XSTR(name), &name, value, doc },
#define MATERIALIZE_INTEGER_FLAG_STRUCT_FOR_DEVELOP(name, value, doc)   { XSTR(name), &name, value, doc },
#define MATERIALIZE_INTEGER_FLAG_STRUCT_FOR_PRODUCT(name, value, doc)   { XSTR(name), &name, value, doc },

Functions

bool str_equal (char *s, char *q, int len)
void print_diff_on (outputStream *st)

Variables

static boolFlag boolTable []
static intFlag intTable []
bool BeingDebugged = false


Define Documentation

#define MATERIALIZE_BOOLEAN_FLAG ( name,
value,
doc   )     bool name = value;

Definition at line 30 of file debug.cpp.

#define MATERIALIZE_BOOLEAN_FLAG_STRUCT_FOR_DEVELOP ( name,
value,
doc   )     { XSTR(name), &name, value, doc },

Definition at line 58 of file debug.cpp.

#define MATERIALIZE_BOOLEAN_FLAG_STRUCT_FOR_PRODUCT ( name,
value,
doc   )     { XSTR(name), &name, value, doc },

Definition at line 62 of file debug.cpp.

#define MATERIALIZE_INTEGER_FLAG ( name,
value,
doc   )     int name = value;

Definition at line 38 of file debug.cpp.

#define MATERIALIZE_INTEGER_FLAG_STRUCT_FOR_DEVELOP ( name,
value,
doc   )     { XSTR(name), &name, value, doc },

Definition at line 135 of file debug.cpp.

#define MATERIALIZE_INTEGER_FLAG_STRUCT_FOR_PRODUCT ( name,
value,
doc   )     { XSTR(name), &name, value, doc },

Definition at line 139 of file debug.cpp.


Function Documentation

void print_diff_on ( outputStream st  ) 

Definition at line 193 of file debug.cpp.

References boolTable, intTable, intFlag::name, boolFlag::name, and outputStream::print_cr().

Here is the call graph for this function:

bool str_equal ( char *  s,
char *  q,
int  len 
) [inline]

Definition at line 71 of file debug.cpp.

Referenced by debugFlags::boolAt(), debugFlags::boolAtPut(), debugFlags::intAt(), and debugFlags::intAtPut().


Variable Documentation

bool BeingDebugged = false

Definition at line 208 of file debug.cpp.

boolFlag boolTable[] [static]

Initial value:

Definition at line 65 of file debug.cpp.

Referenced by debugFlags::boolAt(), debugFlags::boolAtPut(), print_diff_on(), debugFlags::print_on(), and debugFlags::printFlags().

intFlag intTable[] [static]

Initial value:

Definition at line 142 of file debug.cpp.

Referenced by debugFlags::intAt(), debugFlags::intAtPut(), print_diff_on(), debugFlags::print_on(), and debugFlags::printFlags().


Generated on Mon Oct 9 13:38:55 2006 for Strongtalk VM by  doxygen 1.4.7