shutdown() Disconnects the debugger from the Interactions JVM and cleans up any state.
public void
startUp() Attaches the debugger to the Interactions JVM to prepare for debugging.
public void
step(StepType type) Steps the execution of the currently loaded document.
public void
toggleBreakpoint(OpenDefinitionsDocument doc, int offset, int lineNum, boolean isEnabled) Toggles whether a breakpoint is set at the given line in the given document.
Gets the Breakpoint object at the specified line in the given class.
If the given data do not correspond to an actual breakpoint, null is returned.
Parameters: line - the line number of the breakpoint Parameters: className - the name of the class the breakpoint's in the Breakpoint corresponding to the line and className, or null ifthere is no such breakpoint.
Returns whether the debugger can be used in this copy of DrJava. This does not indicate whether it is ready to be
used, which is indicated by isReady().
Toggles whether a breakpoint is set at the given line in the given document.
Parameters: doc - Document in which to set or remove the breakpoint Parameters: offset - Start offset on the line to set the breakpoint Parameters: lineNum - Line on which to set or remove the breakpoint, >=1 Parameters: isEnabled - true if this breakpoint should be enabled