VirtualBox

Changeset 8736

Show
Ignore:
Timestamp:
05/09/08 12:09:31 (2 months ago)
Author:
vboxsync
Message:

Excessive debug logging can halt the host.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy