Ignore:
Timestamp:
Jun 17, 2008, 9:24:12 PM (15 years ago)
Author:
dai_9181
Message:

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/BreakPoint.h

    r647 r648  
    11
    22
    3 class CFileBreakPoint{
     3class BreakPointsPerFile
     4{
    45public:
    5     char *lpszFileName;
     6    std::string filename;
     7    std::vector<int> lines;
    68
    7     int *piLine;
    8     int num;
    9 
    10     CFileBreakPoint(char *lpszFileName,int iLineNum);
    11     ~CFileBreakPoint();
     9    BreakPointsPerFile(char *lpszFileName,int iLineNum);
    1210
    1311    void add(int iLineNum);
     
    1614    void update(char *nativeCodeBuffer);
    1715};
     16typedef std::vector<BreakPointsPerFile> BreakPointsPerFiles;
    1817
    19 class CDBBreakPoint{
    20     CFileBreakPoint **ppItem;
    21     int num;
     18class BreakPointManager
     19{
     20    BreakPointsPerFiles breakpointsPerFiles;
    2221
    2322public:
    24     CDBBreakPoint();
    25     ~CDBBreakPoint();
     23    BreakPointManager();
    2624
    2725    void insert(char *lpszFileName,int iLineNum);
     
    3230
    3331
    34 extern CDBBreakPoint *pobj_DBBreakPoint;
     32extern BreakPointManager *pobj_DBBreakPoint;
Note: See TracChangeset for help on using the changeset viewer.