📄 hamaro_windbg.h
字号:
/* hamaro_windbg.h */
/*+++ *******************************************************************\
*
* Abstract:
*
* Hamaro debug functions on windows.
*
* Created: 07/15/2005
*
*
* Copyright and Disclaimer:
*
* ---------------------------------------------------------------
* This software is provided "AS IS" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of noninfringement, merchantability and/or
* fitness for a particular purpose.
* ---------------------------------------------------------------
*
* Author: Amar Puttur
*
* Module Revision Id:
*
* $Header: hamaro_windbg.h, 2, 2006-4-8 0:38:32, ShenWei Wang$
*
* Copyright (c) 2005 Conexant Systems, Inc.
* All rights reserved.
*
\******************************************************************* ---*/
#ifndef _DEBUG_H_
#define _DEBUG_H_
#include "hamaro.h"
#include <stdlib.h>
//#include <time.h>
#ifdef HAMARO_WIN_DEBUG
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
extern BOOL WINDBG_FileInit(char* filename);
extern void WINDBG_FileWriteString(char* string);
extern void WINDBG_FileWriteInteger(int value, char format);
extern void WINDBG_FileWriteDouble(double value);
extern void WINDBG_FileWriteNewLine();
extern void WINDBG_FileClose();
extern void WINDBG_FileWriteByte(char value);
/* High-level functions */
void WINDBG_WriteIntegerLn(char* message, int value);
void WINDBG_WriteUnsignedLn(char* message, unsigned long value);
void WINDBG_WriteUnsigned(char* message, unsigned long value);
void WINDBG_WriteInteger(char* message, int value);
void WINDBG_WriteHex(char* message, int value);
void WINDBG_WriteString(char* message, BOOL newline);
void WINDBG_FileWriteDuration(void);
void WINDBG_SetTimer(void);
#ifdef __cplusplus
}
#endif
#endif /* WIN_DEBUG */
#endif /* _DEBUG_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -