VirtualBox

Changeset 109066 in vbox


Ignore:
Timestamp:
Apr 24, 2025 8:41:08 AM (10 days ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168603
Message:

libs/xpcom: More logging

Location:
trunk/src/libs/xpcom18a4/xpcom/components
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/components/nsCategoryManager.cpp

    r102348 r109066  
    5757#include <iprt/assert.h>
    5858#include <iprt/errcore.h>
     59#include <VBox/log.h>
    5960
    6061class nsIComponentLoaderManager;
     
    536537  NS_ENSURE_ARG_POINTER(aEntryName);
    537538  NS_ENSURE_ARG_POINTER(aValue);
     539  LogFlowFunc(("aCategoryName=%s aEntryName=%s aValue=%s aPresists=%d aReplace=%d\n",
     540               aCategoryName, aEntryName, aValue, aPersist, aReplace));
    538541
    539542  // Before we can insert a new entry, we'll need to
     
    569572  NS_ENSURE_ARG_POINTER(aCategoryName);
    570573  NS_ENSURE_ARG_POINTER(aEntryName);
     574  LogFlowFunc(("aCategoryName=%s aEntryName=%s aDontPresists=%d\n", aCategoryName, aEntryName, aDontPersist));
    571575
    572576  /*
     
    591595{
    592596  NS_ENSURE_ARG_POINTER(aCategoryName);
     597  LogFlowFunc(("aCategoryName=%s\n", aCategoryName));
    593598
    594599  // the categories are arena-allocated, so we don't
     
    758763                              const char *observerTopic)
    759764{
     765    LogFlowFunc(("category=%s origin=%p observerTopic=%s\n", category, origin, observerTopic));
    760766    nsresult rv = NS_OK;
    761767   
     
    790796            continue;
    791797        }
     798        LogFlowFunc(("Entry: entryString=%s contractID=%s\n", entryString.get(), contractID.get()));
    792799       
    793800        nsCOMPtr<nsISupports> instance = do_GetService(contractID, &rv);
  • trunk/src/libs/xpcom18a4/xpcom/components/nsComponentManager.cpp

    r109065 r109066  
    19081908    if (NS_SUCCEEDED(rv))
    19091909    {
    1910 
    19111910        rv = factory->CreateInstance(aDelegate, aIID, aResult);
    19121911        NS_RELEASE(factory);
     
    30033002nsComponentManagerImpl::AutoRegister(PRInt32 when, nsIFile *inDirSpec)
    30043003{
     3004    LogFlowFunc(("when=%#x inDirSpec=%p\n", when, inDirSpec));
    30053005    return AutoRegisterImpl(when, inDirSpec);
    30063006}
     
    32603260nsComponentManagerImpl::AutoRegister(nsIFile *aSpec)
    32613261{
     3262    LogFlowFunc(("aSpec=%p\n", aSpec));
    32623263    if (aSpec == nsnull)
    32633264        return AutoRegisterImpl(0, aSpec);
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