Changeset 9242 in vbox for trunk/src/VBox
- Timestamp:
- May 30, 2008 8:24:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineDebuggerImpl.cpp
r8822 r9242 457 457 AutoWriteLock alock(this); 458 458 CHECK_READY(); 459 #ifdef LOG_ENABLED 459 460 PRTLOGGER pLogInstance = RTLogDefaultInstance(); 460 461 *aEnabled = pLogInstance && !(pLogInstance->fFlags & RTLOGFLAGS_DISABLED); 462 #else 463 *aEnabled = false; 464 #endif 461 465 return S_OK; 462 466 } … … 493 497 CheckComRCReturnRC (pVM.rc()); 494 498 499 #ifdef LOG_ENABLED 495 500 int vrc = DBGFR3LogModifyFlags(pVM, aEnabled ? "enabled" : "disabled"); 496 501 if (VBOX_FAILURE(vrc)) … … 498 503 /** @todo handle error code. */ 499 504 } 505 #endif 500 506 return S_OK; 501 507 }
Note:
See TracChangeset
for help on using the changeset viewer.