VirtualBox

Changeset 89012 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 12, 2021 1:32:15 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144351
Message:

FE/VBoxHeadless: Add a bit of logging. bugref:8161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r88990 r89012  
    396396{
    397397    RT_NOREF(sig);
     398    Log(("%s: received singal %d\n", __FUNCTION__, sig));
    398399    g_fTerminateFE = true;
    399400}
     
    14331434            if (g_fTerminateFE)
    14341435            {
     1436                Log(("processEventQueue: %Rrc, g_fTerminateFE = true\n", irc));
    14351437                break;
    14361438            }
     
    14381440            if (RT_FAILURE(irc))
    14391441            {
     1442                Log(("processEventQueue: %Rrc, g_fTerminateFE = false\n", irc));
    14401443                RTMsgError("event loop: %Rrc", irc);
    14411444                break;
     
    14661469    MachineState_T machineState = MachineState_Aborted;
    14671470    if (!machine.isNull())
    1468         machine->COMGETTER(State)(&machineState);
     1471    {
     1472        rc = machine->COMGETTER(State)(&machineState);
     1473        if (SUCCEEDED(rc))
     1474            Log(("machine state = %RU32\n", machineState));
     1475        else
     1476            Log(("IMachine::getState: %Rhrc\n", rc));
     1477    }
     1478    else
     1479    {
     1480        Log(("machine == NULL\n"));
     1481    }
    14691482
    14701483    /*
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