YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
调试设施。 更多...
![]() |
类 | |
class | DebugTimer |
调试计时器。 更多... | |
宏定义 | |
#define | YCL_DEBUG_PRINTF(...) std::printf(__VA_ARGS__) |
#define | YCL_DEBUG_PUTS(_arg) std::puts(_arg) |
函数 | |
bool | platform::YDebugGetStatus () |
调试模式:取得状态。 | |
void | platform::YDebugBegin () |
调试模式:显示控制台。 | |
void | platform::YDebug () |
调试模式:按键继续。 | |
void | platform::YDebug (const char *) |
调试模式:显示控制台字符串,按键继续。 | |
int | platform::yprintf (const char *,...) |
调试模式 printf :显示控制台格式化输出 ,按键继续。 | |
调试设施。
仅在宏 NDEBUG 未被定义时起诊断作用的调试接口和实现。
#define YCL_DEBUG_PUTS | ( | _arg | ) | std::puts(_arg) |
void platform::YDebug | ( | ) |
void platform::YDebug | ( | const char * | s | ) |
调试模式:显示控制台字符串,按键继续。
参考 platform::WaitForInput() , 以及 platform::YDebugBegin().
void platform::YDebugBegin | ( | ) |
调试模式:显示控制台。
参考 platform::ColorSpace::Blue,platform::ColorSpace::White , 以及 platform::YConsoleInit().
参考自 HandleFatalError(),ShowFatalError(),platform::YDebug() , 以及 platform::yprintf().
int platform::yprintf | ( | const char * | str, |
... | |||
) |
调试模式 printf :显示控制台格式化输出 ,按键继续。
参考 platform::WaitForInput() , 以及 platform::YDebugBegin().