VirtualBox

Changeset 26154 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 2, 2010 4:09:14 PM (15 years ago)
Author:
vboxsync
Message:

Main/Debugger: set a meaningful error message if machine is not running.

File:
1 edited

Legend:

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

    r25860 r26154  
    658658
    659659    if (!pVM.isOk())
    660         return E_FAIL;
     660        return setError(VBOX_E_INVALID_VM_STATE, "Machine is not running");
    661661
    662662    STAMR3Reset (pVM, Utf8Str (aPattern).raw());
     
    676676
    677677    if (!pVM.isOk())
    678         return E_FAIL;
     678        return setError(VBOX_E_INVALID_VM_STATE, "Machine is not running");
    679679
    680680    STAMR3Dump (pVM, Utf8Str (aPattern).raw());
     
    696696
    697697    if (!pVM.isOk())
    698         return E_FAIL;
     698        return setError(VBOX_E_INVALID_VM_STATE, "Machine is not running");
    699699
    700700    char *pszSnapshot;
Note: See TracChangeset for help on using the changeset viewer.

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