Debug
DEBUG_INIT
void DEBUG_INIT()

Initialize Debug module

Notes
DEBUG_BREAK
void DEBUG_BREAK()

Force a break point

Notes
DEBUG_ASSERT
void DEBUG_ASSERT(
bool a
)

Conditionnal break

Parameters
a
bool

Instructions to evialuate. A 'false' result will trigger a break.

Notes
DEBUG_LOG
void DEBUG_LOG(
const c8* msg
)

Display debug message

Parameters
msg
const c8*

Null-terminated string with message to display

DEBUG_LOGNUM
void DEBUG_LOGNUM(
const c8* msg,
u8 num
)

Display debug message and a 8-bits value

Parameters
msg
const c8*

Null-terminated string with numer name

num
u8

8-bit number value

DEBUG_PRINT
void DEBUG_PRINT(
const c8* format,
...
)

Display debug formated message

Parameters
format
const c8*

Null-terminated string with format specifiers

Notes
Profile
PROFILE_FRAME_START
inline void PROFILE_FRAME_START()

Signal the start of a frame to be measured.

PROFILE_FRAME_END
inline void PROFILE_FRAME_END()

Signal the end of a frame to be measured.

PROFILE_SECTION_START
inline void PROFILE_SECTION_START(
u8 level,
u8 section,
const c8* msg
)

Signal the start of a section to be measured.

PROFILE_SECTION_END
inline void PROFILE_SECTION_END(
u8 level,
u8 section,
const c8* msg
)

Signal the end of a section to be measured.