Package jadx.gui.device.debugger
Class BreakpointManager
- java.lang.Object
-
- jadx.gui.device.debugger.BreakpointManager
-
public class BreakpointManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBreakpointManager.FileBreakpointstatic interfaceBreakpointManager.Listener
-
Constructor Summary
Constructors Constructor Description BreakpointManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddListener(JClass topCls, BreakpointManager.Listener listener)protected static voidfailBreakpoint(BreakpointManager.FileBreakpoint bp)protected static java.util.List<BreakpointManager.FileBreakpoint>getAllBreakpoints()static java.util.List<java.lang.Integer>getPositions(JClass topCls)static voidinit(@Nullable java.nio.file.Path baseDir)static booleanremove(JClass topCls, int line)static voidremoveListener(JClass topCls)static voidsaveAndExit()static booleanset(JClass topCls, int line)protected static voidsetDebugController(DebugController controller)
-
-
-
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)
-
getAllBreakpoints
protected static java.util.List<BreakpointManager.FileBreakpoint> getAllBreakpoints()
-
failBreakpoint
protected static void failBreakpoint(BreakpointManager.FileBreakpoint bp)
-
setDebugController
protected static void setDebugController(DebugController controller)
-
-