VirtualBox

Changeset 24919 in vbox


Ignore:
Timestamp:
Nov 24, 2009 6:58:14 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55204
Message:

MachineImpl.cpp: State logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r24765 r24919  
    56005600{
    56015601    LogFlowThisFuncEnter();
    5602     LogFlowThisFunc(("aMachineState=%d\n", aMachineState));
     5602    LogFlowThisFunc(("aMachineState=%s\n", Global::stringifyMachineState(aMachineState) ));
    56035603
    56045604    AutoCaller autoCaller(this);
     
    99999999{
    1000010000    LogFlowThisFuncEnter();
    10001     LogFlowThisFunc(("aMachineState=%d\n", aMachineState));
     10001    LogFlowThisFunc(("aMachineState=%s\n", Global::stringifyMachineState(aMachineState) ));
    1000210002
    1000310003    AutoCaller autoCaller(this);
     
    1000810008    MachineState_T oldMachineState = mData->mMachineState;
    1000910009
    10010     AssertMsgReturn (oldMachineState != aMachineState,
    10011                      ("oldMachineState=%d, aMachineState=%d\n",
    10012                       oldMachineState, aMachineState), E_FAIL);
     10010    AssertMsgReturn(oldMachineState != aMachineState,
     10011                    ("oldMachineState=%s, aMachineState=%s\n",
     10012                     Global::stringifyMachineState(oldMachineState), Global::stringifyMachineState(aMachineState)),
     10013                    E_FAIL);
    1001310014
    1001410015    HRESULT rc = S_OK;
     
    1017810179    }
    1017910180
    10180     LogFlowThisFunc(("rc=%08X\n", rc));
     10181    LogFlowThisFunc(("rc=%Rhrc [%s]\n", rc, Global::stringifyMachineState(mData->mMachineState) ));
    1018110182    LogFlowThisFuncLeave();
    1018210183    return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette