Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

debuget Namespace Reference


Detailed Description

contains some debugging functions and ASSERT macros (although the macros don't respect the namespace scoping...)


Functions

const char * extractFilename (const char *path)
 for display, just use the filename, not the whole path
void displayAssert (const char *file, unsigned int line, const char *msg)
 mostly for use with a debugger -- set a breakpoint on this function and you can catch anytime an assertion is generated
char hexdigit (int c)
 returns the hex char that corresponds to c, which should be 0-16 (returns '.' otherwise)
void charhexout (char c)
 printf's the two hex digits coresponding to a byte
void hexout (const void *p, size_t n)
 charhexout's n bytes starting at p
void hexout2 (const void *p, size_t size)
 displays hex and ascii values of size bytes from p
void hexout3 (const char *buf, size_t size)
 displays hex and ascii values of size bytes from p


Tekkotsu v3.0
Generated Fri May 11 20:09:04 2007 by Doxygen 1.4.7