Changeset 459 in dev for trunk/ab5.0/abdev/BasicCompiler32/Compile_CallProc.cpp
- Timestamp:
- Mar 23, 2008, 10:38:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler32/Compile_CallProc.cpp
r435 r459 24 24 } 25 25 26 bool Opcode_CallProcPtr( const char *variable, const char *lpszParms,ProcPointer *pProcPointer){ 27 28 extern BOOL bDebugCompile; 26 bool Opcode_CallProcPtr( const char *variable, const char *lpszParms,ProcPointer *pProcPointer) 27 { 29 28 extern BOOL bDebugSupportProc; 30 if(bDebugCompile&&bDebugSupportProc==0) 29 if( compiler.IsDebug() && bDebugSupportProc == 0 ) 30 { 31 31 Call_DebugSys_SaveContext(); 32 } 32 33 33 34 … … 433 434 } 434 435 435 bool Opcode_CallDllProc( const char *lpszParms, const DllProc *pDllProc ){ 436 437 extern BOOL bDebugCompile; 436 bool Opcode_CallDllProc( const char *lpszParms, const DllProc *pDllProc ) 437 { 438 438 extern BOOL bDebugSupportProc; 439 if(bDebugCompile&&bDebugSupportProc==0&& pDllProc->IsEqualSymbol( "DebugBreak" ) ){ 439 if( compiler.IsDebug() && bDebugSupportProc==0 && pDllProc->IsEqualSymbol( "DebugBreak" ) ) 440 { 440 441 Call_DebugSys_SaveContext(); 441 442 } … … 487 488 void Opcode_CallDelegate( const Delegate &dg, const char *methodPtrValueStr, const char *objPtrValueStr, const char *params ) 488 489 { 489 extern BOOL bDebugCompile;490 490 extern BOOL bDebugSupportProc; 491 if(bDebugCompile&&bDebugSupportProc==0) 491 if( compiler.IsDebug() && bDebugSupportProc == 0 ) 492 { 492 493 Call_DebugSys_SaveContext(); 494 } 493 495 494 496
Note:
See TracChangeset
for help on using the changeset viewer.