Live2D  Version 2.0
Live2D rendering engine API reference
 All Classes Namespaces Functions
UtDebug Class Reference

#include <UtDebug.h>

Static Public Member Functions

static void assertF (const char *file, int lineno, const char *format,...)
 
static void error (const char *msg,...)
 
static void dumpByte (const char *data, int length)
 
static void printVectorUShort (char *msg, LDVector< unsigned short > *v, char *unit)
 
static void print (const char *format,...)
 
static void println (const char *format,...)
 
static void debugBreak ()
 
static void setMemoryDebugFlags (unsigned int flag)
 
static void addMemoryDebugFlags (unsigned int flag)
 
static unsigned int getMemoryDebugFlags ()
 
static void setReadObjectDebugFlags (unsigned int flag)
 
static void addReadObjectDebugFlags (unsigned int flag)
 
static unsigned int getReadObjectDebugFlags ()
 
static void start (const char *key)
 
static long long dump (const char *key, bool print_string=true)
 
static void staticRelease_notForClientCall ()
 

Static Public Attributes

static const unsigned int MEMORY_DEBUG_DUMP_ALLOCATOR = 0x1
 
static const unsigned int MEMORY_DEBUG_DUMP_TMP = 0x2
 
static const unsigned int MEMORY_DEBUG_DUMP_FIXED = 0x4
 
static const unsigned int MEMORY_DEBUG_DUMP_UNMANAGED = 0x8
 
static const unsigned int MEMORY_DEBUG_MEMORY_INFO_COUNT = 0x10
 
static const unsigned int MEMORY_DEBUG_MEMORY_INFO_DUMP = 0x20
 
static const unsigned int MEMORY_DEBUG_MEMORY_INFO_ALL = MEMORY_DEBUG_MEMORY_INFO_COUNT | MEMORY_DEBUG_MEMORY_INFO_DUMP
 
static const unsigned int MEMORY_DEBUG_MEMORY_INFO_KEEP_FREE = 0x40
 
static const unsigned int MEMORY_DEBUG_MEMORY_DUMP_PLACEMENT_NEW = 0x80
 
static const unsigned int MEMORY_DEBUG_DUMP_ALL
 
static const unsigned int READ_OBJECT_DEBUG_DUMP = 0x1
 

Detailed Description


Member Function Documentation

void debugBreak ( )
static

Date
2013/05/21
long long dump ( const char *  key,
bool  print_string = true 
)
static

void dumpByte ( const char *  data,
int  length 
)
static

void error ( const char *  format,
  ... 
)
static

void print ( const char *  format,
  ... 
)
static

void println ( const char *  format,
  ... 
)
static

void printVectorUShort ( char *  msg,
LDVector< unsigned short > *  v,
char *  unit 
)
static

Parameters
msg->
v->
unit->
Date
2013/05/21
void start ( const char *  key)
static

Member Data Documentation

const unsigned int MEMORY_DEBUG_DUMP_ALL
static
Initial value:
= MEMORY_DEBUG_DUMP_ALLOCATOR
| MEMORY_DEBUG_DUMP_TMP
| MEMORY_DEBUG_DUMP_FIXED
| MEMORY_DEBUG_MEMORY_INFO_DUMP
| MEMORY_DEBUG_DUMP_UNMANAGED

The documentation for this class was generated from the following files: