source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/include/BreakPoint.h@ 703

Last change on this file since 703 was 648, checked in by dai_9181, 16 years ago

・ブレークポイントが正常に動作しない不具合を修正。
・と同時に、ブレークポイント周りのコードをリファクタリング

File size: 637 bytes
Line 
1
2
3class BreakPointsPerFile
4{
5public:
6 std::string filename;
7 std::vector<int> lines;
8
9 BreakPointsPerFile(char *lpszFileName,int iLineNum);
10
11 void add(int iLineNum);
12 void remove(int iLineNum);
13
14 void update(char *nativeCodeBuffer);
15};
16typedef std::vector<BreakPointsPerFile> BreakPointsPerFiles;
17
18class BreakPointManager
19{
20 BreakPointsPerFiles breakpointsPerFiles;
21
22public:
23 BreakPointManager();
24
25 void insert(char *lpszFileName,int iLineNum);
26 void remove(char *lpszFileName,int iLineNum);
27
28 char *update(char *nativeCodeBuffer,int SizeOf_CodeSection);
29};
30
31
32extern BreakPointManager *pobj_DBBreakPoint;
Note: See TracBrowser for help on using the repository browser.