Class DebugUtils

java.lang.Object
net.minestom.server.utils.debug.DebugUtils

public final class DebugUtils
extends java.lang.Object
Utils class useful for debugging purpose.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static org.slf4j.Logger LOGGER  
  • Constructor Summary

    Constructors 
    Constructor Description
    DebugUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void printStackTrace()
    Prints the current thread stack trace elements.
    static void printStackTrace​(int maxLine)
    Prints the current thread stack trace elements.

    Methods inherited from class java.lang.Object

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

    • LOGGER

      public static final org.slf4j.Logger LOGGER
  • Constructor Details

  • Method Details

    • printStackTrace

      public static void printStackTrace​(int maxLine)
      Prints the current thread stack trace elements.
      Parameters:
      maxLine - the maximum number of stack trace element
    • printStackTrace

      public static void printStackTrace()
      Prints the current thread stack trace elements.