VirtualBox

Changeset 8736 in vbox for trunk


Ignore:
Timestamp:
May 9, 2008 10:09:31 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30686
Message:

Excessive debug logging can halt the host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r8514 r8736  
    10981098DECLEXPORT(void) RTCALL AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)
    10991099{
     1100#ifndef DEBUG_sandervl
    11001101    SUPR0Printf("\n!!R0-Assertion Failed!!\n"
    11011102                "Expression: %s\n"
    11021103                "Location  : %s(%d) %s\n",
    11031104                pszExpr, pszFile, uLine, pszFunction);
    1104 
     1105#endif
    11051106    LogRel(("\n!!R0-Assertion Failed!!\n"
    11061107            "Expression: %s\n"
     
    11191120    {
    11201121        LogRel(("%c", pachChars[i])); /** @todo this isn't any release logging in ring-0 from what I can tell... */
     1122#ifndef DEBUG_sandervl
    11211123        SUPR0Printf("%c", pachChars[i]);
     1124#endif
    11221125    }
    11231126
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