Class SimpleDebugger


  • public class SimpleDebugger
    extends java.lang.Object
    Instead of using System.out.println statements during development tracing, this factory provides an efficient means of handling debug statements.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.io.PrintWriter out  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean getDebug()  
      static java.lang.String getStackTrace​(java.lang.Throwable e)  
      static Write instance()
      Returns a debugging object that depends upon the debug value in webconfig.properties.
      static void setDebug​(boolean debug)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • out

        protected static final java.io.PrintWriter out
    • Method Detail

      • instance

        public static Write instance()
        Returns a debugging object that depends upon the debug value in webconfig.properties. Setting debug=true will enable printing to the screen, otherwise all messages are suppressed.
        Returns:
        a debugging object.
      • setDebug

        public static void setDebug​(boolean debug)
      • getDebug

        public static boolean getDebug()
      • getStackTrace

        public static java.lang.String getStackTrace​(java.lang.Throwable e)