VirtualBox

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


Ignore:
Timestamp:
Jun 4, 2007 2:15:52 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21783
Message:

More logging.

File:
1 edited

Legend:

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

    r3001 r3030  
    246246                 */
    247247                if (updateDeviceState (DevPtr, pDevices))
     248                {
     249                    Log (("USBProxyService::processChanges: state change %p:{.idVendor=%#06x, .idProduct=%#06x, .pszProduct=\"%s\", .pszManufacturer=\"%s\"} state=%d%s\n",
     250                          (HostUSBDevice *)DevPtr, pDevices->idVendor, pDevices->idProduct, pDevices->pszProduct, pDevices->pszManufacturer, DevPtr->state(), DevPtr->isStatePending() ? " (pending async op)" : ""));
    248251                    mHost->onUSBDeviceStateChanged (DevPtr);
     252                }
    249253                It++;
    250254                PUSBDEVICE pFree = pDevices;
     
    272276                     * checks happy */
    273277                    AutoLock newDevLock (NewObj);
    274                    
     278
    275279                    mDevices.insert (It, NewObj);
    276280                    mHost->onUSBDeviceAttached (NewObj);
     
    293297                         * to the next device */
    294298                        It++;
     299                        Log (("USBProxyService::processChanges: detached but pending %d %p\n",
     300                              DevPtr->pendingState(), (HostUSBDevice *)DevPtr));
    295301                    }
    296302                }
     
    314320        {
    315321            ComObjPtr <HostUSBDevice> DevPtr = *It;
    316            
     322
    317323            AutoLock devLock (DevPtr);
    318324
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