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