Debug.cpp File Reference

#include <DebugMgr.h>
#include <support/Debug.h>
#include <support/KeyedVector.h>
#include <support/String.h>
#include <support/TextStream.h>
#include <support/StdIO.h>
#include <assert.h>

Functions

int _debuggerAssert (const char *file, int line, const char *expr)
void add_debug_atom (const BNS(::palmos::support::) sptr< BNS(palmos::support::) SAtom > &atom, const char *name)
void add_debug_atom (BNS(palmos::support::) SAtom *atom, const char *name)
void add_debug_sized (const void *key, size_t size, const char *name)
void ErrFatalErrorInContext (const char *, uint32_t, const char *errMsg, uint32_t)
SString lookup_debug (const void *key, bool padding)
SString lookup_debug (const BNS(::palmos::support::) sptr< BNS(palmos::support::) SAtom > &atom, bool padding)
const sptr< ITextOutput > & operator<< (const sptr< ITextOutput > &io, const BRangedVector &v)
const sptr< ITextOutput > & operator<< (const sptr< ITextOutput > &io, const BRangedVector::range &r)
void set_debug_fieldwidth (int width)

Variables

BRangedVector g_debugData
size_t g_debugFieldWidth = 12


Function Documentation

int _debuggerAssert const char *  file,
int  line,
const char *  expr
 

void add_debug_atom const BNS(::palmos::support::) sptr< BNS(palmos::support::) SAtom > &  atom,
const char *  name
 

void add_debug_atom BNS(palmos::support::) SAtom atom,
const char *  name
 

void add_debug_sized const void *  key,
size_t  size,
const char *  name
 

void ErrFatalErrorInContext const char *  ,
uint32_t  ,
const char *  errMsg,
uint32_t 
 

SString lookup_debug const void *  key,
bool  padding
 

SString lookup_debug const BNS(::palmos::support::) sptr< BNS(palmos::support::) SAtom > &  atom,
bool  padding
 

const sptr< ITextOutput > & operator<< const sptr< ITextOutput > &  io,
const BRangedVector &  v
[inline]
 

const sptr< ITextOutput > & operator<< const sptr< ITextOutput > &  io,
const BRangedVector::range &  r
[inline]
 

void set_debug_fieldwidth int  width  ) 
 


Variable Documentation

BRangedVector g_debugData
 

size_t g_debugFieldWidth = 12