Class Debug
java.lang.Object
com.sun.ts.tests.common.connector.whitebox.Debug
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic intThis gets the current level of debugging we are using.static booleanThis gets the status of the debugging functionality.static voidstatic voidsetDebugLevel(int val) This sets the current level of debugging we are using.static voidsetDebugStatus(boolean bVal) This is used to turn debugging off or on.static void
- 
Constructor Details- 
DebugConstructor
 
- 
- 
Method Details- 
trace
- 
setDebugStatuspublic static void setDebugStatus(boolean bVal) This is used to turn debugging off or on. This is off by default and must be explicitly set to true in order to turn on debugging.- Parameters:
- bVal- : True means turn debugging on.
 
- 
printDebugStack
- 
getDebugStatuspublic static boolean getDebugStatus()This gets the status of the debugging functionality. false means that debugging is disabled, true means it is enabled.- Returns:
- boolean: True means turn debugging on.
 
- 
getDebugLevelpublic static int getDebugLevel()This gets the current level of debugging we are using.- Returns:
- int: 0=none, 1=errors, 2=errors+warnings, 3=all
 
- 
setDebugLevelpublic static void setDebugLevel(int val) This sets the current level of debugging we are using.- Parameters:
- val- : 0=none, 1=errors, 2=errors+warnings, 3=all
 
 
-