Changeset 263 in dev for trunk/abdev/BasicCompiler_Common/Debug.cpp
- Timestamp:
- Aug 5, 2007, 3:47:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Debug.cpp
r259 r263 79 79 80 80 if(i2==iLineNum){ 81 extern int MaxLineInfoNum; 82 extern LINEINFO *pLineInfo; 81 extern SourceLines oldSourceLines; 83 82 84 83 loop: … … 87 86 88 87 int i3; 89 for(i3=0;i3< MaxLineInfoNum-1;i3++){90 if( pLineInfo[i3].TopCp==tempCp) break;91 } 92 if(i3== MaxLineInfoNum-1){88 for(i3=0;i3<(int)oldSourceLines.size()-1;i3++){ 89 if(oldSourceLines[i3].GetSourceCodePos()==tempCp) break; 90 } 91 if(i3==oldSourceLines.size()-1){ 93 92 i2--; 94 93 goto loop; 95 94 } 96 95 97 StepCursorObpSchedule= pLineInfo[i3].TopObp;96 StepCursorObpSchedule=oldSourceLines[i3].GetNativeCodePos(); 98 97 StepCursor_BackupChar=pobj_DBDebugSection->pobj_now->BreakStepCodeBuffer[StepCursorObpSchedule]; 99 98
Note:
See TracChangeset
for help on using the changeset viewer.