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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/Debug.cpp

    r641 r648  
    5858    const IncludedFilesRelation *pIncludedFilesRelation = NULL;
    5959    const BasicSource *pNowSource = NULL;
    60     BOOST_FOREACH( const ObjectModule *pObjectModule, compiler.staticLibraries )
     60
     61    extern BasicSources sourcesLinkRelationalObjectModule;
     62    BOOST_FOREACH( const BasicSource &source, sourcesLinkRelationalObjectModule )
    6163    {
    62         const BasicSource *pSource = &pObjectModule->GetSource();
    63 
    64         pIncludedFilesRelation = &pSource->GetIncludedFilesRelation();
     64        pIncludedFilesRelation = &source.GetIncludedFilesRelation();
    6565
    6666        for(FileNum=0;FileNum<pIncludedFilesRelation->GetFileCounts();FileNum++)
     
    6868            if(lstrcmpi(pIncludedFilesRelation->GetFilePathFromFileNumber(FileNum).c_str(),szFilePath)==0)
    6969            {
    70                 pNowSource = pSource;
     70                pNowSource = &source;
    7171                break;
    7272            }
     
    418418
    419419    //ブレークポイントを生成
    420     pobj_DBBreakPoint=new CDBBreakPoint;
     420    pobj_DBBreakPoint=new BreakPointManager;
    421421
    422422
Note: See TracChangeset for help on using the changeset viewer.