source: dev/ProjectEditor/Debugger.h@ 54

Last change on this file since 54 was 3, checked in by dai_9181, 18 years ago
File size: 1.5 KB
Line 
1
2class CDebugger{
3 BOOL bDebugging;
4public:
5 HWND hwnd;
6
7 CDebugger::CDebugger();
8 CDebugger::~CDebugger();
9
10 BOOL IsDebugging(void);
11 BOOL IsDebuggerView(void);
12
13 void resize(int x,int y,int cx,int cy);
14
15 void ResetCommandEnabled(void);
16
17 void SaftyCheck(void);
18
19 void begin(void);
20 void end(void);
21 void watch_start(HWND hDebuggerView);
22 void watch_quit(void);
23
24
25 /////////////////////////////////
26 // イベントによるアプリ間通信
27 /////////////////////////////////
28
29 void DebugContinue(void);
30 void StepIn(void);
31 void StepOver(void);
32 void StepToCursor(void);
33
34 void DebugStop(void);
35 void DebugPause(void);
36};
37
38extern CDebugger *pobj_Debugger;
39
40
41
42
43
44/////////////////////////////////
45// ブレークポイント
46/////////////////////////////////
47
48class CFileBreakPoint{
49public:
50 char *lpszFileName;
51
52 int *piLine;
53 int num;
54
55 CFileBreakPoint(char *lpszFileName,int iLineNum);
56 ~CFileBreakPoint();
57
58 void add(int iLineNum);
59 void remove(int iLineNum);
60
61 BOOL check(int iLineNum);
62
63 void replace(LPSTR lpszBuffer,CHARRANGE *pDelRange,CHARRANGE *pRange,LPSTR lpszNewStr);
64};
65
66class CDBBreakPoint{
67 CFileBreakPoint **ppItem;
68 int num;
69
70public:
71 CDBBreakPoint();
72 ~CDBBreakPoint();
73
74 void insert(char *lpszFileName,int iLineNum);
75 void remove(char *lpszFileName,int iLineNum);
76
77 void Event_BreakPoint(void);
78 void SaveToTempFile(void);
79
80 CFileBreakPoint *EnumLines(char *lpszFilePath);
81
82 void replace(LPSTR lpszFilePath,LPSTR lpszBuffer,CHARRANGE *pDelRange,CHARRANGE *pRange,LPSTR lpszNewStr);
83};
Note: See TracBrowser for help on using the repository browser.