visualdebuguse.h
来自「这是一个软件水平资格考试中使用的CASL汇编语言的编译器,实现文件中包括一个编译」· C头文件 代码 · 共 44 行
H
44 行
///////////////////////////////////////////////////////////////////////
//文件功能:可视化调试中用到的一些结构定义
//开发人员:杨军
//开发日期: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 + =
减小字号Ctrl + -
显示快捷键?