Package editor.debugger
Class Debugger
- java.lang.Object
-
- editor.debugger.Debugger
-
public class Debugger extends Object
-
-
Constructor Summary
Constructors Constructor Description Debugger(com.sun.jdi.VirtualMachine vm, BreakpointManager bpm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBreakpointJdi(Breakpoint bp)
void
addChangeListener(Consumer<Debugger> listener)
void
dropToFrame(com.sun.jdi.StackFrame frame)
ExperimentBuild
getClassRedefiner()
String
getEventName()
static String
getOutermostType(com.sun.jdi.ReferenceType type)
com.sun.jdi.Location
getSuspendedLocation()
com.sun.jdi.ThreadReference
getSuspendedThread()
List<com.sun.jdi.ThreadReference>
getThreads()
boolean
isPaused()
boolean
isSuspended()
void
muteBreakpoints(boolean mute)
void
pause()
void
redefineClasses(List<CompiledClass> listCompiledClasses)
void
removeBreakpointJdi(Breakpoint bp)
boolean
removeChangeListener(Consumer<Debugger> listener)
void
resumeExecution()
void
retain(com.sun.jdi.ObjectReference ref)
void
startDebugging()
void
stepInto()
void
stepOut()
void
stepOver()
String
toString()
-
-
-
Constructor Detail
-
Debugger
public Debugger(com.sun.jdi.VirtualMachine vm, BreakpointManager bpm)
-
-
Method Detail
-
startDebugging
public void startDebugging()
-
resumeExecution
public void resumeExecution()
-
getSuspendedLocation
public com.sun.jdi.Location getSuspendedLocation()
-
getSuspendedThread
public com.sun.jdi.ThreadReference getSuspendedThread()
-
getEventName
public String getEventName()
-
muteBreakpoints
public void muteBreakpoints(boolean mute)
-
isSuspended
public boolean isSuspended()
-
stepOver
public void stepOver()
-
stepInto
public void stepInto()
-
stepOut
public void stepOut()
-
isPaused
public boolean isPaused()
-
pause
public void pause()
-
dropToFrame
public void dropToFrame(com.sun.jdi.StackFrame frame)
-
addBreakpointJdi
public void addBreakpointJdi(Breakpoint bp)
-
removeBreakpointJdi
public void removeBreakpointJdi(Breakpoint bp)
-
retain
public void retain(com.sun.jdi.ObjectReference ref)
-
getOutermostType
public static String getOutermostType(com.sun.jdi.ReferenceType type)
-
getThreads
public List<com.sun.jdi.ThreadReference> getThreads()
-
getClassRedefiner
public ExperimentBuild getClassRedefiner()
-
redefineClasses
public void redefineClasses(List<CompiledClass> listCompiledClasses)
-
-