Class BreakpointManager


  • public class BreakpointManager
    extends java.lang.Object
    • Constructor Detail

      • BreakpointManager

        public BreakpointManager()
    • Method Detail

      • saveAndExit

        public static void saveAndExit()
      • init

        public static void init​(@Nullable
                                @Nullable java.nio.file.Path baseDir)
      • addListener

        public static void addListener​(JClass topCls,
                                       BreakpointManager.Listener listener)
        Parameters:
        listener - When breakpoint is failed to set during debugging, this listener will be called.
      • removeListener

        public static void removeListener​(JClass topCls)
      • getPositions

        public static java.util.List<java.lang.Integer> getPositions​(JClass topCls)
      • set

        public static boolean set​(JClass topCls,
                                  int line)
      • remove

        public static boolean remove​(JClass topCls,
                                     int line)
      • setDebugController

        protected static void setDebugController​(DebugController controller)