📄 visualdebuguse.h
字号:
///////////////////////////////////////////////////////////////////////
//文件功能:可视化调试中用到的一些结构定义
//开发人员:杨军
//开发日期:2004-5-14
//修改人员:
//修改日期:
///////////////////////////////////////////////////////////////////////
#ifndef __VISUAL_DEBUG_DEF
#define __VISUAL_DEBUG_DEF
//-----------目标指令调试信息结构定义- begins------------------------------------------
#pragma pack(push, 1)
typedef struct tagInstructionDebugInfo
{
U2 u2SrcCodeLineNumber; //某条目标指令在源程序中的对应行号
U2 u2InstructionNumber; //某条目标指令在目标程序中的序号(注意,IN, OUT各算三条Casl指令)
tagInstructionDebugInfo()
{
u2SrcCodeLineNumber = 0;
u2InstructionNumber = 0;
}
tagInstructionDebugInfo(U2 argSrcCodeNumber, U2 argInstNumber)
{
u2SrcCodeLineNumber = argSrcCodeNumber;
u2InstructionNumber = argInstNumber;
}
} InstructionDebugInfo;
#pragma pack(pop)
//-----------目标指令调试信息结构定义- ends ------------------------------------------
//-----------------断点结构定义 begins-----------------------------------------
typedef struct tagBreakpoint
{
int iLineNumber; //断点在源文件中的行号
} Breakpoint;
//----------------判断两个断点数据结构是否相同而重载的==Operator ---------------
bool operator == (const Breakpoint& argLeft, const Breakpoint& argRight);
//-----------------断点结构定义 ends -----------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -