📄 debug.h
字号:
// ------------------------------------------------------------------------
/// @file debug.h
/// @brief Debugging
/// @author Harald Axmann
/// @date 08.05.2006
// ------------------------------------------------------------------------
#ifndef _DEBUG_H_
#define _DEBUG_H_
#ifdef _DEBUG
#define INF 0
#define WRN 1
#define ERR 2
// declare the buffer here, so that it is accessible from the whole program
extern char debug_buffer_[];
void _DEBUG_(int, const char *format, ...);
#else // _DEBUG
#define INF 0
#define WRN 1
#define ERR 2
static inline void _DEBUG_(...) {}
#endif // _DEBUG
#define DEBUG _DEBUG_
#endif // _DEBUG_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -