⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asixdbg.h

📁 一个操作系统源代码 用于嵌入式设备 在Vc++环境下仿真 成功移植到多款处理器上
💻 H
字号:
/*************************************************************************
 *
 *  Copyright (C) Asic Center. 2001
 *  All Rights Reserved
 *
 *  Filename : debug.h
 *  Function : Debug information of IrisPhone System ProtoType
 *  Revision :
 *          2001/10/10  Pessia      Create this file
 *
 ************************************************************************/
#ifndef DEBUG_ASIX
#define DEBUG_ASIX

#include <stdio.h>
#include <sys\sysdebug.h>

/* if ENABLE_DEBUG_OUT is defined, functions will be enabled */
#define ENABLE_ASIXDEBUG_OUT


#ifdef ENABLE_ASIXDEBUG_OUT

//extern SYSTCB gSysTcbTbl[];
//extern const char emsg_tskid[];

#define asixtskname(id)	(((SYSTCB *)id)->description->desp->name)

//#define asixprintf(str)	printf( str )
#define asixprintf(str)	dbgprintf( str )
//#define asixoutput(str, var)	printf(str, var)
#define asixoutput(str, var)	dbgoutput(str, var)
//#define _asixdbgout(str)	printf(#str)
#define _asixdbgout(str)	_dbgout(#str)
#define asixassert(p)	((p) ? 	(void)0 : \
								(void) _asixdbgout(Assertion failed:  ##p##, file ##__FILE__## , line  ##__LINE__## \n ))
			

#else //not define ENABLE_ASIXDEBUG_OUT

#define asixprintf(str)
#define asixoutput(str, var)
#define asixassert(p)

#endif

extern char	*WinClassName[];

#endif /* DEBUG_ASIX */

/* Asix Control Debug */
#define ENABLE_ASIX_EDITOR_DEBUG_OUT		0
#define ENABLE_ASIX_BUTTON_DEBUG_OUT		0
#define ENABLE_ASIX_MENU_DEBUG_OUT			0
#define ENABLE_ASIX_LISTBOX_DEBUG_OUT		0
#define ENABLE_ASIX_SCROLLBAR_DEBUG_OUT		0
#define ENABLE_ASIX_FORM_DEBUG_OUT			0
#define ENABLE_ASIX_STATIC_DEBUG_OUT		0
#define ENABLE_ASIX_SELECT_DEBUG_OUT		0
#define ENABLE_ASIX_TASKBAR_DEBUG_OUT		0
#define ENABLE_ASIX_KEYBOARD_DEBUG_OUT		0




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -