Last change
on this file since 648 was
648,
checked in by dai_9181, 15 years ago
|
・ブレークポイントが正常に動作しない不具合を修正。
・と同時に、ブレークポイント周りのコードをリファクタリング
|
File size:
637 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | class BreakPointsPerFile |
---|
4 | { |
---|
5 | public: |
---|
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 | }; |
---|
16 | typedef std::vector<BreakPointsPerFile> BreakPointsPerFiles; |
---|
17 | |
---|
18 | class BreakPointManager |
---|
19 | { |
---|
20 | BreakPointsPerFiles breakpointsPerFiles; |
---|
21 | |
---|
22 | public: |
---|
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 | |
---|
32 | extern BreakPointManager *pobj_DBBreakPoint; |
---|
Note: See
TracBrowser
for help on using the repository browser.